diff options
author | Wenchen Fan <wenchen@databricks.com> | 2016-03-22 00:07:57 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-03-22 00:07:57 -0700 |
commit | 14464cadb9477be8b7f4c891ea990535ab6638ec (patch) | |
tree | 5a64122946c06d659231ce5cc17336a8535c7988 /sql/hive | |
parent | 8193a266b50460078f64f59c63eae53cdbceeace (diff) | |
download | spark-14464cadb9477be8b7f4c891ea990535ab6638ec.tar.gz spark-14464cadb9477be8b7f4c891ea990535ab6638ec.tar.bz2 spark-14464cadb9477be8b7f4c891ea990535ab6638ec.zip |
[SPARK-14038][SQL] enable native view by default
## What changes were proposed in this pull request?
As we have completed the `SQLBuilder`, we can safely turn on native view by default.
## How was this patch tested?
existing tests.
Author: Wenchen Fan <wenchen@databricks.com>
Closes #11872 from cloud-fan/native-view.
Diffstat (limited to 'sql/hive')
-rw-r--r-- | sql/hive/compatibility/src/test/scala/org/apache/spark/sql/hive/execution/HiveCompatibilitySuite.scala | 9 |
1 files changed, 6 insertions, 3 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 0dc2a95eea..05f59f1545 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 @@ -336,7 +336,12 @@ class HiveCompatibilitySuite extends HiveQueryFileTest with BeforeAndAfter { "udf_format_number", "udf_round", "udf_round_3", - "view_cast" + "view_cast", + + // These tests check the VIEW table definition, but Spark handles CREATE VIEW itself and + // generates different View Expanded Text. + "alter_view_as_select", + "show_create_table_view" ) /** @@ -361,7 +366,6 @@ class HiveCompatibilitySuite extends HiveQueryFileTest with BeforeAndAfter { "alter_table_serde", "alter_varchar1", "alter_varchar2", - "alter_view_as_select", "ambiguous_col", "annotate_stats_join", "annotate_stats_limit", @@ -833,7 +837,6 @@ class HiveCompatibilitySuite extends HiveQueryFileTest with BeforeAndAfter { "show_create_table_index", "show_create_table_partitioned", "show_create_table_serde", - "show_create_table_view", "show_describe_func_quotes", "show_functions", "show_partitions", |