[
https://issues.apache.org/jira/browse/FLINK-19194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17195967#comment-17195967
]
Jark Wu edited comment on FLINK-19194 at 9/15/20, 8:23 AM:
-----------------------------------------------------------
Hi [~faaronzheng], yes, SPLIT_INDEX is supported. I verified it is correct on
{{flink-1.11}} ({{123"XYZ\CD}}) but is wrong on {{flink-1.10.0}}
({{123\"xyz\\cd}}).
was (Author: jark):
Hi [~faaronzheng], yes, SPLIT_INDEX is supported. I verified it is correct on
{{flink-1.11}} ({{AB-123"XYZ\CD}}) but is wrong on {{flink-1.10.0}}
({{123\"xyz\\cd}}).
> 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.0, 1.10.1
> Reporter: fa zheng
> Priority: Major
> Attachments: screenshot-1.png
>
>
> 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}
> {noformat}
> in sql-client, we should get result 123"xyz\cd, not 123\"xyz\\cd
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)