You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2016/06/25 23:12:37 UTC

[jira] [Commented] (SPARK-16209) Convert Hive Tables to Data Source Tables for CREATE TABLE AS SELECT

    [ https://issues.apache.org/jira/browse/SPARK-16209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15349859#comment-15349859 ] 

Apache Spark commented on SPARK-16209:
--------------------------------------

User 'gatorsmile' has created a pull request for this issue:
https://github.com/apache/spark/pull/13907

> Convert Hive Tables to Data Source Tables for CREATE TABLE AS SELECT
> --------------------------------------------------------------------
>
>                 Key: SPARK-16209
>                 URL: https://issues.apache.org/jira/browse/SPARK-16209
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: Xiao Li
>
> Currently, the following created table is Hive Table.
> {noformat}
> CREATE TABLE t STORED AS parquet SELECT 1 as a, 1 as b
> {noformat}
> When users create table as query with {{STORED AS}} or {{ROW FORMAT}}, we will not convert them to data source tables when {{spark.sql.hive.convertCTAS}} is set to true. Actually, for parquet and orc formats, we still can convert them to data source table.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org