diff options
author | zhichao.li <zhichao.li@intel.com> | 2015-07-01 22:19:51 -0700 |
---|---|---|
committer | Davies Liu <davies@databricks.com> | 2015-07-01 22:19:51 -0700 |
commit | b285ac5ba85fe0b32b00726ad7d3a2efb602e885 (patch) | |
tree | dd4903378a6ff8c7543c2740782ddccb9c7801af /sql/hive | |
parent | 4e4f74b5e1267d1ada4a8f57b86aee0d9c17d90a (diff) | |
download | spark-b285ac5ba85fe0b32b00726ad7d3a2efb602e885.tar.gz spark-b285ac5ba85fe0b32b00726ad7d3a2efb602e885.tar.bz2 spark-b285ac5ba85fe0b32b00726ad7d3a2efb602e885.zip |
[SPARK-8227] [SQL] Add function unhex
cc chenghao-intel adrian-wang
Author: zhichao.li <zhichao.li@intel.com>
Closes #7113 from zhichao-li/unhex and squashes the following commits:
379356e [zhichao.li] remove exception checking
a4ae6dc [zhichao.li] add udf_unhex to whitelist
fe5c14a [zhichao.li] add todigit
607d7a3 [zhichao.li] use checkInputTypes
bffd37f [zhichao.li] change to use Hex in apache common package
cde73f5 [zhichao.li] update to use AutoCastInputTypes
11945c7 [zhichao.li] style
c852d46 [zhichao.li] Add function unhex
Diffstat (limited to 'sql/hive')
-rw-r--r-- | sql/hive/compatibility/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/hive/compatibility/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala b/sql/hive/compatibility/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala index f88e62763c..415a81644c 100644 --- a/sql/hive/compatibility/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala +++ b/sql/hive/compatibility/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala @@ -949,6 +949,7 @@ class HiveCompatibilitySuite extends HiveQueryFileTest with BeforeAndAfter { "udf_trim", "udf_ucase", "udf_unix_timestamp", + "udf_unhex", "udf_upper", "udf_var_pop", "udf_var_samp", |