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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to