Details
-
Improvement
-
Status: Open
-
Critical
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
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.