You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (JIRA)" <ji...@apache.org> on 2019/05/21 04:12:56 UTC

[jira] [Resolved] (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 ]

Hyukjin Kwon resolved SPARK-19917.
----------------------------------
    Resolution: Incomplete

> 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
>            Priority: Major
>              Labels: bulk-closed
>
> 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
(v7.6.3#76005)

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