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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Query Processor
    • None
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            luciang 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