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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)