Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.5.0
-
None
Description
Examples would be a predicate like
WHERE 1=0
or
WHERE ds='2010-01-01'
if the table is partitioned on ds and no partition exists for that date.
Per HIVE-838, we have to be careful with the relational algebra analysis; operators like union, outer join, and full-table aggregation can cause rows to be produced even when one of the inputs is guaranteed to be completely filtered out.