[
https://issues.apache.org/jira/browse/FLINK-40239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yanquan Lv resolved FLINK-40239.
--------------------------------
Fix Version/s: cdc-3.7.0
Assignee: Mao Jiayi
Resolution: Fixed
Merged in master via d1ae9f1da84f7b5e06de73458bd939e14a0e1a95.
> Support additional Flink SQL regular expression functions in YAML Transform
> ---------------------------------------------------------------------------
>
> Key: FLINK-40239
> URL: https://issues.apache.org/jira/browse/FLINK-40239
> Project: Flink
> Issue Type: Improvement
> Components: Flink CDC
> Reporter: Mao Jiayi
> Assignee: Mao Jiayi
> Priority: Major
> Labels: pull-request-available
> Fix For: cdc-3.7.0
>
>
> Flink CDC YAML Transform currently supports REGEXP_REPLACE, but the other
> regular expression functions commonly available in Flink SQL are missing.
> This limits the ability to extract, locate, and count pattern matches in
> row-level transform expressions. Users currently need to implement UDFs for
> these operations.
> The missing functions include:
> * REGEXP_EXTRACT
> * REGEXP_EXTRACT_ALL
> * REGEXP_COUNT
> * REGEXP_INSTR
> * REGEXP_SUBSTR
> YAML Transform should support these functions with behavior aligned with
> Flink SQL, including Java regular expression syntax, capture group indexes,
> NULL arguments, invalid patterns, and unmatched input.
> REGEXP_EXTRACT_ALL should return ARRAY<STRING> and work correctly in YAML
> Transform projections.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)