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

[jira] [Created] (CALCITE-5664) Support CONVERT function with "USING" keyword

ZheHu created CALCITE-5664:
------------------------------

             Summary: Support CONVERT function with "USING" keyword
                 Key: CALCITE-5664
                 URL: https://issues.apache.org/jira/browse/CALCITE-5664
             Project: Calcite
          Issue Type: Improvement
          Components: core
    Affects Versions: 1.34.0
            Reporter: ZheHu
            Assignee: ZheHu


After CALCITE-111, we now support CONVERT(charValue, srcCharsetName, destCharsetName) that works on converting character sets.
CONVERT(charValue USING transcodingName) also fits the SQL standard, and MySQL hasĀ  implement it. For example:
 * select convert('employ_id' using utf16) as alia from employee

Noted: Calcite already supports this from the parser.



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