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 2022/02/03 02:02:00 UTC
[jira] [Commented] (CALCITE-111) Support CONVERT function, for changing character sets
[ https://issues.apache.org/jira/browse/CALCITE-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17486185#comment-17486185 ]
ZheHu commented on CALCITE-111:
-------------------------------
Hi, [~julianhyde]. I've submit a [patch|https://github.com/apache/calcite/pull/2705] for this, feel free to comment when you have time.
> Support CONVERT function, for changing character sets
> -----------------------------------------------------
>
> Key: CALCITE-111
> URL: https://issues.apache.org/jira/browse/CALCITE-111
> Project: Calcite
> Issue Type: Improvement
> Reporter: GitHub Import
> Assignee: ZheHu
> Priority: Major
> Labels: github-import, pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Support the CONVERT function, to convert strings from one character set to another.
> CONVERT is defined in SQL:2011 as a feature called <character transliteration>. Here is an example:
> ```sql
> SELECT * FROM emp WHERE CONVERT(name USING UTF16) = u&'\82f1\56fd'
> ```
> The <a href="http://dev.mysql.com/doc/refman/5.0/en/charset-convert.html">MySQL site</a> has other examples.
> ---------------- Imported from GitHub ----------------
> Url: https://github.com/julianhyde/optiq/issues/111
> Created by: [julianhyde|https://github.com/julianhyde]
> Labels: enhancement,
> Created at: Tue Jan 14 03:40:53 CET 2014
> State: open
--
This message was sent by Atlassian Jira
(v8.20.1#820001)