[CQF] Sort unioned intervals in sargable node

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QO 2022-11-14
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We have some tests where identical explains should be produced, but aren't exactly equal due to the unioned intervals in a sargable node not being sorted. This is not an issue for intersections.

      It would be nice if we could canonicalize union intervals to help with readability and checks for identical plans.

       

      One possible way to approach is to extend IndexPath3WCompare to handle all abt types and use it to sort the BoolExpr tree.

            Assignee:
            Svilen Mihaylov (Inactive)
            Reporter:
            Matt Boros
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: