Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.14.0
-
None
-
None
Description
e.g,
create table partition_test_partitioned(key string, value string) partitioned by (dt string) explain select * from partition_test_partitioned where cast(dt as double) >=100.0 and cast(dt as double) <= 102.0
For queries like above, although PartitionPruner is able to prune partitions correctly, filter is still not optimized away by PCR, where it could.