You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "zhichao-li (JIRA)" <ji...@apache.org> on 2015/06/10 05:21:01 UTC

[jira] [Commented] (SPARK-8214) math function: hex

    [ https://issues.apache.org/jira/browse/SPARK-8214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14579949#comment-14579949 ] 

zhichao-li commented on SPARK-8214:
-----------------------------------

I will take this one

> math function: hex
> ------------------
>
>                 Key: SPARK-8214
>                 URL: https://issues.apache.org/jira/browse/SPARK-8214
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>            Reporter: Reynold Xin
>
> hex(BIGINT a): string
> hex(STRING a): string
> hex(BINARY a): string
> If the argument is an INT or binary, hex returns the number as a STRING in hexadecimal format. Otherwise if the number is a STRING, it converts each character into its hexadecimal representation and returns the resulting STRING. (See http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_hex, BINARY version as of Hive 0.12.0.)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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