You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2017/02/28 03:52:45 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15887209#comment-15887209 ]
Apache Spark commented on SPARK-19763:
--------------------------------------
User 'windpiger' has created a pull request for this issue:
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
>
> 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