flink
flink copied to clipboard
[FLINK-34477][table] Support capture groups in REGEXP_REPLACE
What is the purpose of the change
Support capture groups in REGEXP_REPLACE
Brief change log
- Added support for capture groups by skipping the dollar sign
- Adjusted some tests and added new ones
Verifying this change
Tests: org.apache.flink.table.planner.expressions.ScalarFunctionsTest::testRegexpReplace
Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): (no)
- The public API, i.e., is any changed class annotated with
@Public(Evolving): (no) - The serializers: (no )
- The runtime per-record code paths (performance sensitive): (no )
- Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
- The S3 file system connector: (no)
Documentation
- Does this pull request introduce a new feature? (no)
CI report:
- 55d99d52c14f9cfdb878651be9a18455339bb097 Azure: SUCCESS
Bot commands
The @flinkbot bot supports the following commands:@flinkbot run azurere-run the last Azure build
Hi @JingGe could you please review this PR in your available time? Thanks!