Song Jun created SPARK-19763:
--------------------------------

             Summary: qualified external datasource table location stored in 
catalog
                 Key: SPARK-19763
                 URL: https://issues.apache.org/jira/browse/SPARK-19763
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.2.0
            Reporter: Song Jun


If we create a external datasource table with a non-qualified location , we 
should qualified it to store in catalog.

{code}
CREATE TABLE t(a string)
USING parquet
LOCATION '/path/xx'


CREATE TABLE t1(a string, b string)
USING parquet
PARTITIONED BY(b)
LOCATION '/path/xx'
{code}

when we get the table from catalog, the location should be qualified, 
e.g.'file:/path/xxx' 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to