You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "LuNing Wang (Jira)" <ji...@apache.org> on 2022/07/07 09:49:00 UTC

[jira] [Updated] (FLINK-28444) Support SUBSTR without parameter in SQL and Table API

     [ https://issues.apache.org/jira/browse/FLINK-28444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

LuNing Wang updated FLINK-28444:
--------------------------------
    Description: 
SUBSTR() has no parameter functionality in the doc, but the code only supports SUBSTR(STRING, INT1) and SUBSTR(STRING, INT1, INT2). We should also support SUBSTR().

We can use the new built-in function stack to rewrite `generateSubString` method.

  was:
SUBSTR() support without parameter in the doc, but the code only supports SUBSTR(STRING, INT1) and SUBSTR(STRING, INT1, INT2). We should also support SUBSTR()

We can use new built-in function stack to rewrite `generateSubString` method.


> Support SUBSTR without parameter in SQL and Table API
> -----------------------------------------------------
>
>                 Key: FLINK-28444
>                 URL: https://issues.apache.org/jira/browse/FLINK-28444
>             Project: Flink
>          Issue Type: Improvement
>          Components: API / Python, Table SQL / API
>    Affects Versions: 1.15.1
>            Reporter: LuNing Wang
>            Priority: Major
>
> SUBSTR() has no parameter functionality in the doc, but the code only supports SUBSTR(STRING, INT1) and SUBSTR(STRING, INT1, INT2). We should also support SUBSTR().
> We can use the new built-in function stack to rewrite `generateSubString` method.



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