hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sambavi Muthukrishnan (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-2908) Hive: Extend ALTER TABLE DROP PARTITION syntax to use all comparators
Date Tue, 27 Mar 2012 17:54:27 GMT
Hive: Extend ALTER TABLE DROP PARTITION syntax to use all comparators
---------------------------------------------------------------------

                 Key: HIVE-2908
                 URL: https://issues.apache.org/jira/browse/HIVE-2908
             Project: Hive
          Issue Type: Task
          Components: Query Processor
    Affects Versions: 0.8.1
            Reporter: Sambavi Muthukrishnan
            Priority: Minor


To drop a partition from a Hive table, this works:

ALTER TABLE foo DROP PARTITION(ds = 'date')

...but it should also work to drop all partitions prior to date.

ALTER TABLE foo DROP PARTITION(ds < 'date')

This task is to implement ALTER TABLE DROP PARTITION for all of the comparators, < >
<= >= <> = != instead of just for =.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message