-
- Downloads
[SPARK-15756][SQL] Support command 'create table stored as orcfile/parquetfile/avrofile'
## What changes were proposed in this pull request? Now Spark SQL can support 'create table src stored as orc/parquet/avro' for orc/parquet/avro table. But Hive can support both commands: ' stored as orc/parquet/avro' and 'stored as orcfile/parquetfile/avrofile'. So this PR supports these keywords 'orcfile/parquetfile/avrofile' in Spark SQL. ## How was this patch tested? add unit tests Author: Lianhui Wang <lianhuiwang09@gmail.com> Closes #13500 from lianhuiwang/SPARK-15756.
Showing
- sql/core/src/main/scala/org/apache/spark/sql/internal/HiveSerDe.scala 3 additions, 0 deletions.../main/scala/org/apache/spark/sql/internal/HiveSerDe.scala
- sql/core/src/test/scala/org/apache/spark/sql/execution/command/DDLCommandSuite.scala 15 additions, 0 deletions.../apache/spark/sql/execution/command/DDLCommandSuite.scala
Please register or sign in to comment