spark-instrumented-optimizer/sql/hive
Cheng Hao 4b55482abf [SPARK-3343] [SQL] Add serde support for CTAS
Currently, `CTAS` (Create Table As Select) doesn't support specifying the `SerDe` in HQL. This PR will pass down the `ASTNode` into the physical operator `execution.CreateTableAsSelect`, which will extract the `CreateTableDesc` object via Hive `SemanticAnalyzer`. In the meantime, I also update the `HiveMetastoreCatalog.createTable` to optionally support the `CreateTableDesc` for table creation.

Author: Cheng Hao <hao.cheng@intel.com>

Closes #2570 from chenghao-intel/ctas_serde and squashes the following commits:

e011ef5 [Cheng Hao] shim for both 0.12 & 0.13.1
cfb3662 [Cheng Hao] revert to hive 0.12
c8a547d [Cheng Hao] Support SerDe properties within CTAS
2014-10-28 14:36:06 -07:00
..
compatibility/src/test/scala/org/apache/spark/sql/hive/execution [SPARK-3343] [SQL] Add serde support for CTAS 2014-10-28 14:36:06 -07:00
src [SPARK-3343] [SQL] Add serde support for CTAS 2014-10-28 14:36:06 -07:00
v0.12.0/src/main/scala/org/apache/spark/sql/hive [SPARK-3343] [SQL] Add serde support for CTAS 2014-10-28 14:36:06 -07:00
v0.13.1/src/main/scala/org/apache/spark/sql/hive [SPARK-3343] [SQL] Add serde support for CTAS 2014-10-28 14:36:06 -07:00
pom.xml [SPARK-2706][SQL] Enable Spark to support Hive 0.13 2014-10-24 11:03:17 -07:00