You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (JIRA)" <ji...@apache.org> on 2016/09/01 08:40:20 UTC

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

     [ https://issues.apache.org/jira/browse/SPARK-17353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Wenchen Fan resolved SPARK-17353.
---------------------------------
          Resolution: Fixed
       Fix Version/s: 2.1.0
    Target Version/s: 2.0.1, 2.1.0

> 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
>            Assignee: Xiao Li
>             Fix For: 2.1.0
>
>
> - 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