Use a complete ExpressionContext for assertSolutionExists in QueryPlannerTest

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: 6.0.0, 7.0.0, 8.1.0-rc0, 8.0.0
    • Component/s: Query Planning
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-03-03
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Some test cases in QueryPlannerTest (example) call a method assertSolutionExists which as part of its implementation creates an incomplete ExpressionContext lacking an associated OperationContext.

      Currently this is harmless, however as part of SPM-4048 we intend to use that OperationContext to check feature flags, so we need to avoid creating that incomplete ExpressionContext.

              Assignee:
              Joan Bruguera Micó
              Reporter:
              Joan Bruguera Micó
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: