-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
QO 2023-06-26, QO 2023-07-10, QO 2023-07-24, QO 2023-08-07, QO 2023-08-21, QO 2023-09-04
Currently we reject sargable node merging if either one of them has a non-trivial disjunction (see intersectPartialSchemaReqMap).
We may however have cases say with 3 sargable nodes where the first and last ones are trivial disjunctions while the middle one is not, and thus do not merge any of them.
We should add a rewrite to optionally reorder sargable nodes to support the best merging strategy.