You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "liupengcheng (JIRA)" <ji...@apache.org> on 2017/08/18 08:40:00 UTC

[jira] [Created] (SPARK-21785) Support create table from a file schema

liupengcheng created SPARK-21785:
------------------------------------

             Summary: Support create table from a file schema
                 Key: SPARK-21785
                 URL: https://issues.apache.org/jira/browse/SPARK-21785
             Project: Spark
          Issue Type: New Feature
          Components: SQL
    Affects Versions: 2.2.0, 2.1.1
            Reporter: liupengcheng


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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org