hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Dai (JIRA)" <>
Subject [jira] [Created] (HIVE-16638) Get rid of magic constant __HIVE_DEFAULT_PARTITION__ in syntax
Date Wed, 10 May 2017 23:52:04 GMT
Daniel Dai created HIVE-16638:

             Summary: Get rid of magic constant __HIVE_DEFAULT_PARTITION__ in syntax
                 Key: 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__'

This message was sent by Atlassian JIRA

View raw message