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

Extend accuracy test for histogram CE to test array data

    • 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

      Measure the accuracy when a field may contain array data. There are two scenarios
      1. includeScalar is set to true (e.g. find({a: {$gt: 10}}))
      2. includeScalar is set to false (e.g. find({a: {$elemMatch: {$gt: 10}}}))

      Note that a field may contain both array and scalar data. For example:

      > db.coll.find();
      {a: 1}
      {a: [2]}
      {a: [3, ,4]}
      

            Assignee:
            matt.olma@mongodb.com Matt Olma
            Reporter:
            chii.huang@mongodb.com Chi-I Huang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: