[
https://issues.apache.org/jira/browse/HIVE-3422?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jean Xu updated HIVE-3422:
--------------------------
Release Note:
For alter table with partial partition spec, DDLSemanticAnalyzer will call
table.getPartitions
to get all the partitions and insert them to outputs. DDLTask::alterTable will
get all the partitions for
ALTERPROTECTMODE, and alter the mode for all the partitions.
Status: Patch Available (was: Open)
https://reviews.facebook.net/D5241
> Support partial partition specifications in when enabling/disabling
> protections in Hive
> ---------------------------------------------------------------------------------------
>
> Key: HIVE-3422
> URL: https://issues.apache.org/jira/browse/HIVE-3422
> Project: Hive
> Issue Type: Improvement
> Components: Metastore
> Reporter: Jean Xu
> Assignee: Jean Xu
> Priority: Minor
>
> Currently if you have a table t with partition columns c1 and c2 the
> following command works:
> ALTER TABLE t PARTITION (c1 = 'x', c2 = 'y') ENABLE NO_DROP;
> The following does not:
> ALTER TABLE t PARTITION (c1 = 'x') ENABLE NO_DROP;
> We would like all existing partitions for which c1 = 'x' to have NO_DROP
> enabled when a user runs the above command
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira