[SERVER-82008] $setWindowFields $expMovingAvg alpha arg fails to re-parse Created: 09/Oct/23  Updated: 30/Oct/23  Resolved: 30/Oct/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Alyssa Clark Assignee: Backlog - Query Integration
Resolution: Duplicate Votes: 0
Labels: product-high-priority
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-85096 TRACKING: M3 Correctness Tickets Closed
Duplicate
duplicates SERVER-82007 $setWindowFields window bounds fails ... Closed
Related
is related to SERVER-75596 Stress $queryStats read path for aggr... Closed
Assigned Teams:
Query Integration
Operating System: ALL
Participants:
Linked BF Score: 175

 Description   

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\" } } } } } ] }" 

 


Generated at Thu Feb 08 06:47:58 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.