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

Drop partition throws NPE if table doesn't exist

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Cannot Reproduce
    • 0.10.0
    • 0.10.0
    • Query Processor
    • None

    Description

      ALTER TABLE t1 DROP PARTITION (part = '1');

      This throws an NPE if t1 doesn't exist. A SemanticException would be cleaner.

      Attachments

        1. HIVE-3203.1.patch.txt
          1 kB
          Kevin Wilfong
        2. HIVE-3203.2.patch.txt
          1 kB
          Kevin Wilfong
        3. HIVE-3203.3.patch.txt
          2 kB
          Kevin Wilfong
        4. HIVE-3203.4.patch.txt
          2 kB
          Kevin Wilfong

        Activity

          People

            kevinwilfong Kevin Wilfong
            kevinwilfong Kevin Wilfong
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: