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:46:00 UTC

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

LuNing Wang created FLINK-28444:
-----------------------------------

             Summary: 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


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.



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