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

Extend query result comparator in shell_utils for QueryTester normalization

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • QO 2024-08-19, QO 2024-09-02

      The query results comparator in shell_utils.cpp (sortBSONObjectInternally) should be extended to be able to support out-of-order array sorting, on top of its current functionality for out-of-order field sorting.

      Additionally, add support for normalizing similar types, such as numerics. For instance, NumberInt(1) and NumberDecimal('1.00') should be considered equal.

            Assignee:
            lynne.wang@mongodb.com Lynne Wang
            Reporter:
            lynne.wang@mongodb.com Lynne Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: