Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-101149

Improve $sort result checker in agg_stages_basic_behavior_pbt.js to handle null/missing better

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

      The assertions about $sort results in agg_stages_basic_behavior_pbt.js are not very robust, and bail out for arrays and undefined values.

      We could consider improving the logic if we're looking for more $sort coverage on interesting values.

            Assignee:
            Unassigned Unassigned
            Reporter:
            matt.boros@mongodb.com Matt Boros
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None