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 2017/03/09 09:18:38 UTC

[jira] [Resolved] (SPARK-19763) qualified external datasource table location stored in catalog

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

Wenchen Fan resolved SPARK-19763.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.0

Issue resolved by pull request 17095
[https://github.com/apache/spark/pull/17095]

> 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
>             Fix For: 2.2.0
>
>
> 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