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

$setWindowFields $expMovingAvg alpha arg fails to re-parse

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • ALL
    • 175

      This ticket covers $setWindowFields failures related to the $expMovingAvg alpha arg re-parsing in BF-30324.

      "Was not able to re-parse queryStats key when reading queryStats.Status FailedToParse: 'alpha' must be between 0 and 1 (exclusive), found alpha: 1 Hash: 1064033303009867381 Query Shape: { cmdNs: { db: \"test\", coll: \"exp_moving_avg\" }, command: \"aggregate\", pipeline: [ { $sort: { _id: 1 } }, { $_internalSetWindowFields: { sortBy: { _id: 1 }, output: { expMovAvg: { $expMovingAvg: { alpha: 1, input: \"$price\" } } } } } ] }" 

       

            Assignee:
            backlog-query-integration [DO NOT USE] Backlog - Query Integration
            Reporter:
            alyssa.clark@mongodb.com Alyssa Clark
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: