You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "fa zheng (Jira)" <ji...@apache.org> on 2020/09/10 12:18:00 UTC

[jira] [Created] (FLINK-19194) The UDF split and split_index get wrong result

fa zheng created FLINK-19194:
--------------------------------

             Summary: The UDF split and split_index get wrong result 
                 Key: FLINK-19194
                 URL: https://issues.apache.org/jira/browse/FLINK-19194
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Runtime
    Affects Versions: 1.10.1, 1.10.0
            Reporter: fa zheng


If we run sql

{code:sql}
select split_index('ab-123"xyz\cd','-',1) ;
{code}
or

{code:sql}
select split('ab-123"xyz\cd','-')[2] ;
{code}

in sql-client, we should get result 123"xyz\cd, not 123\"xyz\\cd 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)