Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-19194

The UDF split and split_index get wrong result

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.10.0, 1.10.1
    • Fix Version/s: 1.11.2
    • Component/s: Table SQL / Runtime
    • Labels:
      None

      Description

      If we run sql

      select split_index('ab-123"xyz\cd','-',1) ;
      

      or

      select split('ab-123"xyz\cd','-')[2] ;
      
       in sql-client, we should get result 123"xyz\cd, not 123\"xyz\\cd 
      

        Attachments

        1. screenshot-1.png
          52 kB
          fa zheng

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              faaronzheng fa zheng
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: