You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "feiyuanxing (Jira)" <ji...@apache.org> on 2023/09/20 12:43:00 UTC

[jira] [Created] (SPARK-45238) Add Unicode[encode/decode]() function

feiyuanxing created SPARK-45238:
-----------------------------------

             Summary: Add Unicode[encode/decode]() function
                 Key: SPARK-45238
                 URL: https://issues.apache.org/jira/browse/SPARK-45238
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.5.0
            Reporter: feiyuanxing
             Fix For: 3.5.0


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

 
{code:java}
//代码占位符
select unicode_encode('apache');
return \u0061\u0070\u0061\u0063\u0068\u0065

select unicode_decode('\u0061\u0070\u0061\u0063\u0068\u0065');
return apache{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org