[CQF] Reorder sargable nodes to better support merging

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Jess Balint
            Reporter:
            Svilen Mihaylov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: