diff options
author | Wenchen Fan <wenchen@databricks.com> | 2016-06-12 16:52:15 -0700 |
---|---|---|
committer | Wenchen Fan <wenchen@databricks.com> | 2016-06-12 16:52:15 -0700 |
commit | f5d38c39255cc75325c6639561bfec1bc051f788 (patch) | |
tree | d0410899e719a7c452f68b68c308ba5324f18b3c /sql/hive/src/test | |
parent | caebd7f2622340fc081bb9a2ea6a0b246f1e3a3f (diff) | |
download | spark-f5d38c39255cc75325c6639561bfec1bc051f788.tar.gz spark-f5d38c39255cc75325c6639561bfec1bc051f788.tar.bz2 spark-f5d38c39255cc75325c6639561bfec1bc051f788.zip |
Revert "[SPARK-15753][SQL] Move Analyzer stuff to Analyzer from DataFrameWriter"
This reverts commit 0ec279ffdf92853965e327a9f0f6956cacb7a23e.
Diffstat (limited to 'sql/hive/src/test')
-rw-r--r-- | sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveQuerySuite.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveQuerySuite.scala b/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveQuerySuite.scala index 0a2bab4f5d..e0f6ccf04d 100644 --- a/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveQuerySuite.scala +++ b/sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveQuerySuite.scala @@ -1042,7 +1042,7 @@ class HiveQuerySuite extends HiveComparisonTest with BeforeAndAfter { .queryExecution.analyzed } - assertResult(2, "Duplicated project detected\n" + analyzedPlan) { + assertResult(1, "Duplicated project detected\n" + analyzedPlan) { analyzedPlan.collect { case _: Project => () }.size @@ -1061,7 +1061,7 @@ class HiveQuerySuite extends HiveComparisonTest with BeforeAndAfter { .queryExecution.analyzed } - assertResult(2, "Duplicated project detected\n" + analyzedPlan) { + assertResult(1, "Duplicated project detected\n" + analyzedPlan) { analyzedPlan.collect { case _: Project => () }.size |