Given:
select REGEXP_REPLACE('ERR1,ERR2', '([^,]+)', 'AA$1AA');
The result is:
AA$1AA,AA$1AA
Is it supported at all (not mentioned in docs) or possible I'm using it incorrectly?
Thanks in advance
Given:
select REGEXP_REPLACE('ERR1,ERR2', '([^,]+)', 'AA$1AA');
The result is:
AA$1AA,AA$1AA
Is it supported at all (not mentioned in docs) or possible I'm using it incorrectly?
Thanks in advance
Flink SQL uses Java's
String.replaceAllto implementREGEXP_REPLACE. It seems like $1 should work, but it doesn't.I've created https://issues.apache.org/jira/browse/FLINK-34477 to report and track this.