[ 
https://issues.apache.org/jira/browse/SPARK-21785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16192244#comment-16192244
 ] 

Apache Spark commented on SPARK-21785:
--------------------------------------

User 'CrazyJacky' has created a pull request for this issue:
https://github.com/apache/spark/pull/19434

> Support create table from a file schema
> ---------------------------------------
>
>                 Key: SPARK-21785
>                 URL: https://issues.apache.org/jira/browse/SPARK-21785
>             Project: Spark
>          Issue Type: Wish
>          Components: SQL
>    Affects Versions: 2.1.1, 2.2.0
>            Reporter: liupengcheng
>              Labels: sql
>
> Current spark doest not support creating a table from a file schema
> for example:
> {code:java}
> CREATE EXTERNAL TABLE IF NOT EXISTS test LIKE PARQUET 
> '/user/test/abc/a.snappy.parquet' STORED AS PARQUET LOCATION
> '/user/test/def/';
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to