aboutsummaryrefslogtreecommitdiff
path: root/sql/hive/compatibility/src/test
diff options
context:
space:
mode:
authorHerman van Hovell <hvanhovell@questtec.nl>2016-05-10 09:56:07 -0700
committerDavies Liu <davies.liu@gmail.com>2016-05-10 09:56:07 -0700
commit2646265368aab0f0b800d3052e557dea7c40c2d6 (patch)
tree42950c53642f66e5c2c198a820cd7f9be015892c /sql/hive/compatibility/src/test
parent2dfb9cd1f7e7f0438ce571aae7e3a7b77d4082b7 (diff)
downloadspark-2646265368aab0f0b800d3052e557dea7c40c2d6.tar.gz
spark-2646265368aab0f0b800d3052e557dea7c40c2d6.tar.bz2
spark-2646265368aab0f0b800d3052e557dea7c40c2d6.zip
[SPARK-14773] [SPARK-15179] [SQL] Fix SQL building and enable Hive tests
## What changes were proposed in this pull request? This PR fixes SQL building for predicate subqueries and correlated scalar subqueries. It also enables most Hive subquery tests. ## How was this patch tested? Enabled new tests in HiveComparisionSuite. Author: Herman van Hovell <hvanhovell@questtec.nl> Closes #12988 from hvanhovell/SPARK-14773.
Diffstat (limited to 'sql/hive/compatibility/src/test')
-rw-r--r--sql/hive/compatibility/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala7
1 files changed, 7 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 1eebecaf65..f89a8479f0 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
@@ -926,6 +926,13 @@ class HiveCompatibilitySuite extends HiveQueryFileTest with BeforeAndAfter {
"stats_aggregator_error_1",
"stats_publisher_error_1",
"subq2",
+ "subquery_exists",
+ "subquery_exists_having",
+ "subquery_notexists",
+ "subquery_notexists_having",
+ "subquery_in",
+ "subquery_in_having",
+ "subquery_notin_having",
"tablename_with_select",
"timestamp_3",
"timestamp_comparison",