Daniel Dai created HIVE-16638:
---------------------------------

             Summary: 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)

Reply via email to