You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Runkang He (Jira)" <ji...@apache.org> on 2023/10/21 11:56:00 UTC

[jira] [Created] (CALCITE-6065) Add HEX and UNHEX function (enabled in Hive and Spark library)

Runkang He created CALCITE-6065:
-----------------------------------

             Summary: Add HEX and UNHEX function (enabled in Hive and Spark library)
                 Key: CALCITE-6065
                 URL: https://issues.apache.org/jira/browse/CALCITE-6065
             Project: Calcite
          Issue Type: New Feature
          Components: core
    Affects Versions: 1.35.0
            Reporter: Runkang He


Add HEX and UNHEX function (enabled in Hive and Spark library)
- HEX: Converts a BIGINT/CHARACTER/BINARY into a hexadecimal CHARACTER.
- UNHEX: Converts a hexadecimal-encoded CHARACTER into BINARY format.
See more about HEX in [Hive|https://cwiki.apache.org/confluence/display/hive/languagemanual+udf#LanguageManualUDF-MathematicalFunctions] and [Spark|https://spark.apache.org/docs/latest/api/sql/index.html#hex] doc, and UNHEX in [Hive|https://cwiki.apache.org/confluence/display/hive/languagemanual+udf#LanguageManualUDF-MathematicalFunctions] and [Spark|https://spark.apache.org/docs/latest/api/sql/index.html#unhex] doc.



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