$setWindowFields window bounds fails to re-parse

XMLWordPrintableJSON

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

      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
              Reporter:
              Alyssa Clark
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: