Extend accuracy test for histogram CE to test array data

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Chi-I Huang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: