Avoid recursion in DocumentSourceUnionWith::doGetNext()

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • QE 2025-07-07, QE 2025-07-21, QE 2025-08-04, QE 2025-08-18
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently DocumentSourceUnionWith::doGetNext() has a recursive call and it is unclear how deep this recursion can go. If this is just one step recursion for resolving a view, we should probably avoid it for clarity / readability.

      Also, using exceptions to detect views is not very good style, but this is probably a different / larger problem.

              Assignee:
              Unassigned
              Reporter:
              Romans Kasperovics
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: