diff options
author | wujian <jan.chou.wu@gmail.com> | 2016-07-08 14:38:05 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-07-08 14:38:05 -0700 |
commit | f5fef69143b2a83bb8b168b7417e92659af0c72c (patch) | |
tree | 322c0af0ab3388c4d68656e6dd675d41799b04be /sql/hive/src/main | |
parent | 142df4834bc33dc7b84b626c6ee3508ab1abe015 (diff) | |
download | spark-f5fef69143b2a83bb8b168b7417e92659af0c72c.tar.gz spark-f5fef69143b2a83bb8b168b7417e92659af0c72c.tar.bz2 spark-f5fef69143b2a83bb8b168b7417e92659af0c72c.zip |
[SPARK-16281][SQL] Implement parse_url SQL function
## What changes were proposed in this pull request?
This PR adds parse_url SQL functions in order to remove Hive fallback.
A new implementation of #13999
## How was this patch tested?
Pass the exist tests including new testcases.
Author: wujian <jan.chou.wu@gmail.com>
Closes #14008 from janplus/SPARK-16281.
Diffstat (limited to 'sql/hive/src/main')
-rw-r--r-- | sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveSessionCatalog.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveSessionCatalog.scala b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveSessionCatalog.scala index 6f05f0f305..9c7f461362 100644 --- a/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveSessionCatalog.scala +++ b/sql/hive/src/main/scala/org/apache/spark/sql/hive/HiveSessionCatalog.scala @@ -236,7 +236,7 @@ private[sql] class HiveSessionCatalog( // str_to_map, windowingtablefunction. private val hiveFunctions = Seq( "hash", "java_method", "histogram_numeric", - "parse_url", "percentile", "percentile_approx", "reflect", "str_to_map", + "percentile", "percentile_approx", "reflect", "str_to_map", "xpath", "xpath_double", "xpath_float", "xpath_int", "xpath_long", "xpath_number", "xpath_short", "xpath_string" ) |