Details
-
Improvement
-
Status: In Progress
-
Minor
-
Resolution: Unresolved
-
3.1.0
-
None
-
None
Description
This expression
select a from t where a in (1, 2, 3, 3, 4)
can be translated to
select a from t where a >= 1 and a <= 4
This would speed up parquet row group filter (currently or(or(or(or(or(eq(x, 1), eq(x, 2)), eq(x, 3), eq(x, 4.....)))) and make query more compact