diff options
author | Reynold Xin <rxin@databricks.com> | 2015-07-18 14:07:56 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2015-07-18 14:07:56 -0700 |
commit | 6e1e2eba696e89ba57bf5450b9c72c4386e43dc8 (patch) | |
tree | ff09024d2e45656f412ba39f331508f1cf436eab /sql/hive/compatibility/src/test/scala/org | |
parent | 3d2134fc0d90379b89da08de7614aef1ac674b1b (diff) | |
download | spark-6e1e2eba696e89ba57bf5450b9c72c4386e43dc8.tar.gz spark-6e1e2eba696e89ba57bf5450b9c72c4386e43dc8.tar.bz2 spark-6e1e2eba696e89ba57bf5450b9c72c4386e43dc8.zip |
[SPARK-8240][SQL] string function: concat
Author: Reynold Xin <rxin@databricks.com>
Closes #7486 from rxin/concat and squashes the following commits:
5217d6e [Reynold Xin] Removed Hive's concat test.
f5cb7a3 [Reynold Xin] Concat is never nullable.
ae4e61f [Reynold Xin] Removed extra import.
fddcbbd [Reynold Xin] Fixed NPE.
22e831c [Reynold Xin] Added missing file.
57a2352 [Reynold Xin] [SPARK-8240][SQL] string function: concat
Diffstat (limited to 'sql/hive/compatibility/src/test/scala/org')
-rw-r--r-- | sql/hive/compatibility/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala | 4 |
1 files changed, 3 insertions, 1 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 6b8f2f6217..299cc599ff 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 @@ -256,6 +256,9 @@ class HiveCompatibilitySuite extends HiveQueryFileTest with BeforeAndAfter { "timestamp_2", "timestamp_udf", + // Hive outputs NULL if any concat input has null. We never output null for concat. + "udf_concat", + // Unlike Hive, we do support log base in (0, 1.0], therefore disable this "udf7" ) @@ -846,7 +849,6 @@ class HiveCompatibilitySuite extends HiveQueryFileTest with BeforeAndAfter { "udf_case", "udf_ceil", "udf_ceiling", - "udf_concat", "udf_concat_insert1", "udf_concat_insert2", "udf_concat_ws", |