[
https://issues.apache.org/jira/browse/HIVE-16638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16006618#comment-16006618
]
Ashutosh Chauhan commented on HIVE-16638:
-----------------------------------------
+1 . One of the must dos before 3.0
> Get rid of magic constant __HIVE_DEFAULT_PARTITION__ in syntax
> --------------------------------------------------------------
>
> Key: HIVE-16638
> URL: https://issues.apache.org/jira/browse/HIVE-16638
> Project: Hive
> Issue Type: Improvement
> Reporter: Daniel Dai
>
> As per discussion in HIVE-16609, we'd like to get rid of magic constant
> __HIVE_DEFAULT_PARTITION__ in syntax. There are two use cases I currently
> realize:
> 1. alter table t drop partition(p='__HIVE_DEFAULT_PARTITION__');
> 2. select * from t where p='__HIVE_DEFAULT_PARTITION__';
> Currently we switch p='__HIVE_DEFAULT_PARTITION__' to "p is null" internally
> for processing. It would be good if we can promote to the syntax level and
> get rid of p='__HIVE_DEFAULT_PARTITION__' completely.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)