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

The UDF split and split_index get wrong result

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.10.0, 1.10.1
    • 1.11.2
    • Table SQL / Runtime
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: