Fix join reordering tripwire assertions for lookup+unwind pipelines and re-enable lookup_unwind_pbt PBT

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • ALL
    • Hide
      buildscripts/resmoke.py run \
        --suite=query_join_optimization_passthrough \
        --mongodSetParameters='{internalQueryFrameworkControl: trySbeEngine}' \
        --runAllFeatureFlagTests \
        jstests/aggregation/sources/lookup/lookup_unwind_pbt.js 
      Show
      buildscripts/resmoke.py run \ --suite=query_join_optimization_passthrough \ --mongodSetParameters= '{internalQueryFrameworkControl: trySbeEngine}' \ --runAllFeatureFlagTests \ jstests/aggregation/sources/lookup/lookup_unwind_pbt.js
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The lookup_unwind_pbt property-based test currently fails with two different assertions, depending on the generated pipeline shape.

      Failure 1: Unimplemented cost for base collection access (11729102)

      Error

      • Location11729102: Hit a MONGO_UNIMPLEMENTED_TASSERT!

      Location

      • src/mongo/db/query/compiler/optimizer/join/join_cost_estimator_impl.cpp:205

      Failure 2: AggJoinModel unexpected $match (11116400)

      Error

      • Location11116400: unexpected $match

      Location

      • src/mongo/db/query/compiler/optimizer/join/agg_join_model.cpp:386

       

        1. failure1.txt
          44 kB
        2. failure2.txt
          40 kB

            Assignee:
            Unassigned
            Reporter:
            Catalin Sumanaru
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: