[
https://issues.apache.org/jira/browse/FLINK-35985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17872902#comment-17872902
]
yux commented on FLINK-35985:
-----------------------------
Thanks [~MOBIN]'s suggestion! +1 for providing both functions to keep
consistency with Flink SQL.
Kindly remind that FLINK-35991 just refactored builtin functions declaration,
so make sure you've rebased before working on this : )
> 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)