[
https://issues.apache.org/jira/browse/HIVE-3148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13398032#comment-13398032
]
Shengsheng Huang commented on HIVE-3148:
----------------------------------------
This patch provide correct behavior. Result like below:
hive> CREATE TABLE t(x INT) PARTITIONED BY (p INT);
OK
Time taken: 0.183 seconds
hive> ALTER TABLE t ADD PARTITION (p=1) LOCATION '/Users/carl/1' PARTITION
(p=2)LOCATION '/Users/carl/2';
OK
Time taken: 0.384 seconds
hive> DESCRIBE FORMATTED t PARTITION(p=1);
OK
...
Location: hdfs://master:54310/Users/carl/1
...
hive> DESCRIBE FORMATTED t PARTITION(p=2);
OK
...
Location: hdfs://master:54310/Users/carl/2
...
> LOCATION clause is not honored when adding multiple partitions
> --------------------------------------------------------------
>
> Key: HIVE-3148
> URL: https://issues.apache.org/jira/browse/HIVE-3148
> Project: Hive
> Issue Type: Bug
> Components: Metastore, Query Processor
> Affects Versions: 0.4.0, 0.5.0, 0.6.0, 0.7.0, 0.8.0, 0.9.0
> Reporter: Carl Steinbach
> Attachments: 3148.for0.9.0.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira