Hive
  1. Hive
  2. HIVE-2870

Throw an error when a nonexistent partition is accessed in strict mode

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Query Processor
    • Labels:
      None
    • Release Note:
      Throw an error when a nonexistent partition is accessed in strict mode

      Description

      When a table does not exist and someone tries to read from it in a query, Hive throws an error.

      But if a partition is directly accessed that does not exist, an error is not thrown. This is inconsistent and also leads to a lot of confused users who get no output.

      This task is to cause Hive to throw an error when the partition pruner for a query eliminates ALL existing partitions for some table when running in strict mode.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Lucian Adrian Grijincu
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 24h
              24h
              Remaining:
              Remaining Estimate - 24h
              24h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development