Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
If there is only one range in search/sarg after simplification, the result of sarg collector is ignored (SargCollector#needToFix() method).
Expression (a > 5 and a < 15) or (a > 10 and a < 20) is simplified to OR(SEARCH(a, Sarg[(5..15)]), SEARCH(a, Sarg[(10..20)])) but expected SEARCH(a, Sarg[(5..20)]).
If there are more the one intervals or if open interval exists, expressions simplified as expected.
Attachments
Issue Links
- links to