[ https://issues.apache.org/jira/browse/HIVE-16638?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashutosh Chauhan updated HIVE-16638: ------------------------------------ Priority: Critical (was: Major) > 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 > Priority: Critical > > 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)