Improve the check for unpack stage compatibility with SBE

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • QI 2023-11-13
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, in DocumentSourceInternalUnpackBucket::isSbeCompatible() we consider the unpack stage to be incompatible with SBE if there is an incompatible expr anywhere in the pipeline. This would prevent the stage from lowering to SBE if there are stages later in the pipeline that use expressions, not compatible with SBE.

      This would complicate the test matrix (especially for perf) and potentially confuse the end-users and support as lowering of bucket unpacking will be affected by unrelated parts of the pipeline.

            Assignee:
            Gil Alon
            Reporter:
            Irina Yatsenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: