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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • None
    • 3
    • 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
            Reporter:
            Matt Boros
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: