spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xiao Li (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-17353) CREATE TABLE LIKE statements when Source is a VIEW
Date Thu, 01 Sep 2016 03:28:20 GMT
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


Mime
View raw message