spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Song Jun (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-19763) qualified external datasource table location stored in catalog
Date Tue, 28 Feb 2017 03:44:45 GMT
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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org


Mime
View raw message