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/03/11 04:45:04 UTC

[jira] [Assigned] (SPARK-19917) qualified partition location stored in catalog

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

Apache Spark reassigned SPARK-19917:
------------------------------------

    Assignee: Apache Spark

> qualified partition location stored in catalog
> ----------------------------------------------
>
>                 Key: SPARK-19917
>                 URL: https://issues.apache.org/jira/browse/SPARK-19917
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Song Jun
>            Assignee: Apache Spark
>
> partition path should be qualified to store in catalog. 
> There are some scenes:
> 1. ALTER TABLE t PARTITION(b=1) SET LOCATION '/path/x' 
>    qualified: file:/path/x
> 2. ALTER TABLE t PARTITION(b=1) SET LOCATION 'x' 
>      qualified: file:/tablelocation/x
> 3. ALTER TABLE t ADD PARTITION(b=1) LOCATION '/path/x'
>    qualified: file:/path/x
> 4. ALTER TABLE t ADD PARTITION(b=1) LOCATION 'x'
>      qualified: file:/tablelocation/x
> Currently only  ALTER TABLE t ADD PARTITION(b=1) LOCATION for hive serde table has the expected qualified path. we should make other scenes to be consist with it.



--
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