You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Timo Walther (JIRA)" <ji...@apache.org> on 2018/08/14 09:44:00 UTC

[jira] [Resolved] (FLINK-9853) add hex support in table api and sql

     [ https://issues.apache.org/jira/browse/FLINK-9853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timo Walther resolved FLINK-9853.
---------------------------------
       Resolution: Fixed
         Assignee: xueyu
    Fix Version/s: 1.7.0

Fixed in 1.7.0: ab1d1dfb2ad872748833896d552e2d56a26a9a92

> add hex support in table api and sql
> ------------------------------------
>
>                 Key: FLINK-9853
>                 URL: https://issues.apache.org/jira/browse/FLINK-9853
>             Project: Flink
>          Issue Type: Improvement
>          Components: Table API &amp; SQL
>            Reporter: xueyu
>            Assignee: xueyu
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.7.0
>
>
> like in mysql, HEX could take int or string arguments, For a integer argument N, it returns a hexadecimal string representation of the value of N. For a string argument str, it returns a hexadecimal string representation of str where each byte of each character in str is converted to two hexadecimal digits. 
> Syntax:
> HEX(100) = 64
> HEX('This is a test String.') = '546869732069732061207465737420537472696e672e'
> See more: [link MySQL|https://dev.mysql.com/doc/refman/8.0/en/string-functions.html#function_hex]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)