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/09/01 03:28:20 UTC

[jira] [Created] (SPARK-17353) CREATE TABLE LIKE statements when Source is a VIEW

Xiao Li created SPARK-17353:
-------------------------------

             Summary: CREATE TABLE LIKE statements when Source is a VIEW
                 Key: SPARK-17353
                 URL: https://issues.apache.org/jira/browse/SPARK-17353
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.0.1
            Reporter: Xiao Li


- Add a support for tempory view

- When the source table is a `VIEW`, the metadata of the generated table contains the original view text and view original text. So far, this does not break anything, but it could cause something wrong in Hive. (For example, https://github.com/apache/hive/blob/master/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java#L1405-L1406)

- When the type of source table is a view, the target table is using the default format of data source tables: `spark.sql.sources.default`.





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