Karan Sewani created HIVE-11337:
-----------------------------------
Summary: Extend ALTER TABLE DROP PARTITION syntax to use multiple
conditions
Key: HIVE-11337
URL: https://issues.apache.org/jira/browse/HIVE-11337
Project: Hive
Issue Type: Bug
Reporter: Karan Sewani
Priority: Minor
To drop a partition from a Hive table, this works:
ALTER TABLE foo DROP PARTITION(ds < 'date')
we can use all of the comparators, < > <= >= <> = != instead of just for =
as per https://issues.apache.org/jira/browse/HIVE-2908
but we can't use multiple conditions like
ALTER TABLE foo DROP PARTITION(ds < 'date1' & ds >'date2' );
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)