GitHub user windpiger opened a pull request:

    https://github.com/apache/spark/pull/17254

    [SPARK-19917][SQL]qualified partition path stored in catalog

    ## What changes were proposed in this pull request?
    
    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.
    
    Another change is for alter table location.
    
    ## How was this patch tested?
    modify existing TestCases


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/windpiger/spark qualifiedPartitionPath

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/17254.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #17254
    
----
commit 51dcf4092345e173a63e088e779fa44c4fc963b1
Author: windpiger <[email protected]>
Date:   2017-03-11T04:39:02Z

    [SPARK-19917][SQL]qualified partition path stored in catalog

commit 996a84d8d1ece4d311240e71a1a9be47828621f8
Author: windpiger <[email protected]>
Date:   2017-03-11T04:42:32Z

    remove empty line

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to