Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
1.18.1
-
None
Description
For example, I would expect this query
select REGEXP_REPLACE('ERR1,ERR2', '([^,]+)', 'AA$1AA');
to produce
AAERR1AA,AAERR2AA
but instead it produces
AA$1AA,AA$1AA
With FLINK-9990 support was added for REGEXP_EXTRACT, which does provide access to the capture groups, but for many use cases supporting this in the way that users expect, in REGEXP_REPLACE, would be more natural and convenient.
Attachments
Issue Links
- links to