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

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

Xiao Li created SPARK-16209:
-------------------------------

             Summary: 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