Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-45238

Add Unicode[encode/decode]() function

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.5.0
    • 3.5.0
    • SQL
    • None

    Description

      unicode_encode()/unicode_decode() is a common convenient function supported by a number of database systems. it can help with data analysis efficiency

       

      //代码占位符
      select unicode_encode('apache');
      return \u0061\u0070\u0061\u0063\u0068\u0065
      
      select unicode_decode('\u0061\u0070\u0061\u0063\u0068\u0065');
      return apache

      Attachments

        Activity

          People

            Unassigned Unassigned
            feiyuanxing feiyuanxing
            BingKun Pan BingKun Pan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: