Ensure the constructSolutionWithRandomOrder apply all join predicates in the case of a cycle

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-110757 implemented a naive way of constructing a random join order by performing a random walk of the join graph. In the case of a graph with a cycle, this function fails to apply some of the join predicates in the final solution.

      Assuming at this point in the project, we will are relying on the random join order function as a demo, then we should fix this.

            Assignee:
            Unassigned
            Reporter:
            Ben Shteinfeld
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: