[ 
https://issues.apache.org/jira/browse/FLINK-35985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17872832#comment-17872832
 ] 

MOBIN commented on FLINK-35985:
-------------------------------

Currently, flink-cdc only provides the substr function. Although substr is the 
abbreviation of substring, it is common in flink/spark/doris to provide both 
substr and substring functions for users to use. 
I think flink-cdc should also provide both substr and substring functions.
What do you think? [~xiqian_yu] [~Leonard] 

If possible, please assign it to me. Thank you

> SUBSTRING function not available in transform rules
> ---------------------------------------------------
>
>                 Key: FLINK-35985
>                 URL: https://issues.apache.org/jira/browse/FLINK-35985
>             Project: Flink
>          Issue Type: Bug
>          Components: Flink CDC
>            Reporter: yux
>            Priority: Major
>
> Currently, one could not write `SUBSTRING(str FROM idx FOR len)` in the way 
> that suggested in the doumentations[1], while the workable function, 
> `SUBSTR(str, idx, len)`, isn't mentioned anywhere.
> Either the code or the docs needs update to avoid confusing users.
> [1] 
> https://nightlies.apache.org/flink/flink-cdc-docs-release-3.1/docs/core-concept/transform/



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to