Search before asking
Description
Doris does not support disjunctive predicates very well, which causes some problems in partition prune.
For example, sqls like the followings will trigger a full table scan without partition pruning
select * from test.t1
where (dt between 20211121 and 20211122) or (dt between 20211125 and 20211126)
Solution
support compound predicates in expressionToRanges
Are you willing to submit PR?
Code of Conduct