spark-instrumented-optimizer/sql/hive
gatorsmile 337289d712 [SPARK-14691][SQL] Simplify and Unify Error Generation for Unsupported Alter Table DDL
#### What changes were proposed in this pull request?
So far, we are capturing each unsupported Alter Table in separate visit functions. They should be unified and issue the same ParseException instead.

This PR is to refactor the existing implementation and make error message consistent for Alter Table DDL.

#### How was this patch tested?
Updated the existing test cases and also added new test cases to ensure all the unsupported statements are covered.

Author: gatorsmile <gatorsmile@gmail.com>
Author: xiaoli <lixiao1983@gmail.com>
Author: Xiao Li <xiaoli@Xiaos-MacBook-Pro.local>

Closes #12459 from gatorsmile/cleanAlterTable.
2016-04-24 18:53:27 +02:00
..
compatibility/src/test/scala/org/apache/spark/sql/hive/execution [SPARK-14824][SQL] Rename HiveContext object to HiveUtils 2016-04-21 17:57:59 -07:00
src [SPARK-14691][SQL] Simplify and Unify Error Generation for Unsupported Alter Table DDL 2016-04-24 18:53:27 +02:00
pom.xml [SPARK-14786] Remove hive-cli dependency from hive subproject 2016-04-20 22:50:27 -07:00