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

$bucketAuto granularity doesn't re-parse correctly

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • ALL
    • QI 2023-11-13
    • 175

      This ticket covers the $bucketAuto failures in BF-30324.

       

      "Was not able to re-parse queryStats key when reading queryStats.Status Location40257: Unknown rounding granularity '?' Hash: 9598835250160584959 Query Shape: { cmdNs: { db: \"test\", coll: \"server57091\" }, command: \"aggregate\", pipeline: [ { $bucketAuto: { groupBy: { $reduce: { input: { $const: [] }, initialValue: { $const: 1 }, in: { $size: [ \"$$value\" ] } } }, buckets: 1, granularity: \"?\", output: { count: { $sum: { $const: 1 } } } } } ] }" 

       

            Assignee:
            erin.zhu@mongodb.com Erin Zhu
            Reporter:
            alyssa.clark@mongodb.com Alyssa Clark
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: