Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-3419

drop partition does not work for non-equality oprator.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.9.1, 0.10.0
    • None
    • Metastore, Query Processor
    • None
    • Hive -0.9.1
      postgres-9.0.7 as metastore.

    Description

      Drop partition query failes when below query is executed with postgres as metastore.Whereas when derby is used, drop partition query is pased.

      create table ptestfilter (a string, b int) partitioned by (c string);
      alter table ptestfilter1 add partition (c='1');
      alter table ptestfilter1 add partition (c='2');
      "alter table ptestfilter1 drop partition (c!='2');"--> failed

      Attachments

        Activity

          People

            Unassigned Unassigned
            rohithsharma Rohith Sharma K S
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: