aboutsummaryrefslogtreecommitdiff
path: root/sql/core
diff options
context:
space:
mode:
authorDavies Liu <davies@databricks.com>2015-07-06 13:31:31 -0700
committerReynold Xin <rxin@databricks.com>2015-07-06 13:31:31 -0700
commit37e4d92142a6309e2df7d36883e0c7892c3d792d (patch)
tree20a23e5a565ebe20919cb20be03e9335d4088dc8 /sql/core
parent57c72fcce75907c08a1ae53a0d85447176fc3c69 (diff)
downloadspark-37e4d92142a6309e2df7d36883e0c7892c3d792d.tar.gz
spark-37e4d92142a6309e2df7d36883e0c7892c3d792d.tar.bz2
spark-37e4d92142a6309e2df7d36883e0c7892c3d792d.zip
[SPARK-8784] [SQL] Add Python API for hex and unhex
Add Python API for hex/unhex, also cleanup Hex/Unhex Author: Davies Liu <davies@databricks.com> Closes #7223 from davies/hex and squashes the following commits: 6f1249d [Davies Liu] no explicit rule to cast string into binary 711a6ed [Davies Liu] fix test f9fe5a3 [Davies Liu] Merge branch 'master' of github.com:apache/spark into hex f032fbb [Davies Liu] Merge branch 'hex' of github.com:davies/spark into hex 49e325f [Davies Liu] Merge branch 'master' of github.com:apache/spark into hex b31fc9a [Davies Liu] Update math.scala 25156b7 [Davies Liu] address comments and fix test c3af78c [Davies Liu] address commments 1a24082 [Davies Liu] Add Python API for hex and unhex
Diffstat (limited to 'sql/core')
-rw-r--r--sql/core/src/main/scala/org/apache/spark/sql/functions.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/core/src/main/scala/org/apache/spark/sql/functions.scala b/sql/core/src/main/scala/org/apache/spark/sql/functions.scala
index f80291776f..4da9ffc495 100644
--- a/sql/core/src/main/scala/org/apache/spark/sql/functions.scala
+++ b/sql/core/src/main/scala/org/apache/spark/sql/functions.scala
@@ -1095,7 +1095,7 @@ object functions {
* @group math_funcs
* @since 1.5.0
*/
- def unhex(column: Column): Column = UnHex(column.expr)
+ def unhex(column: Column): Column = Unhex(column.expr)
/**
* Inverse of hex. Interprets each pair of characters as a hexadecimal number