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

$setWindowFields window bounds fails to re-parse

    • Query Integration
    • Fully Compatible
    • ALL
    • QI 2023-11-13
    • 175

      This ticket covers $setWindowFields failures related to window bounds re-parsing in BF-30324.

      "Was not able to re-parse queryStats key when reading queryStats.Status Location5339900: Lower bound must not exceed upper bound: [1, 0] Hash: 9438084818423628190 Query Shape: { cmdNs: { db: \"test\", coll: \"comprehensive_parse\" }, command: \"aggregate\", pipeline: [ { $sort: { partition: 1, partitionSeq: -1 } }, { $_internalSetWindowFields: { partitionBy: \"$partition\", sortBy: { partitionSeq: -1 }, output: { x: { $first: \"$a\", window: { documents: [ 1, \"current\" ] } } } } } ] }" 

      Bounds derived from the output.window.documents and output.window.range fields can hit this error.

            Assignee:
            alyssa.clark@mongodb.com Alyssa Clark
            Reporter:
            alyssa.clark@mongodb.com Alyssa Clark
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: