Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.1, 2.1.1, 2.2.0
-
None
Description
create table daysales (customer int) partitioned by (dt string); insert into daysales partition(dt='2001-01-01') values(1); select * from daysales where nvl(dt='2001-01-01' and customer=1, false); 0 ROWS
2017-03-05T12:37:47,153 WARN [6f053d71-6ad6-4ad0-833d-337f2d499c82 main] ppr.PartitionPruner: The expr = NVL(((dt = '2001-01-01') and null),false)
Because true and null => null, this turns into NVL(null, false)
Attachments
Attachments
Issue Links
- causes
-
HIVE-26505 Case When Some result data is lost when there are common column conditions and partitioned column conditions
- Open