[ https://issues.apache.org/jira/browse/SPARK-8214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Davies Liu resolved SPARK-8214. ------------------------------- Resolution: Fixed Fix Version/s: 1.5.0 Issue resolved by pull request 6976 [https://github.com/apache/spark/pull/6976] > 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 > Assignee: zhichao-li > Fix For: 1.5.0 > > > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org