[SERVER-56960] WF comprehensive parse/translate testing Created: 14/May/21  Updated: 29/Oct/23  Resolved: 11/Jun/21

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

Type: Task Priority: Major - P3
Reporter: Joel Redman (Inactive) Assignee: Joel Redman (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Sprint: Query Optimization 2021-05-31, Query Optimization 2021-06-14
Participants:

 Description   

Create js tests which verify that every combination of WF, bounds (where appropriate), and sort order appropriately generates results or a parse error.  

The goal of this testing is primarily to ensure that we don't tassert, rather than checking for correctness of results – correctness has been checked in the unit tests for the WF execs.

Additionally it would be helpful to test if multiple WFs can be used within a $setWindowFields, as the spec calls for.



 Comments   
Comment by Joel Redman (Inactive) [ 11/Jun/21 ]

Author:

{'name': 'Joel Redman', 'email': 'joel.redman@mongodb.com', 'username': 'joredman'}

Message: SERVER-56950: Test all reasonable combinations of window function, window type, sort scheme, and partition scheme
Branch: master
https://github.com/mongodb/mongo/commit/c258e6f2932a3ca05b83ba9ec5c1576c55d81fed

Generated at Thu Feb 08 05:40:38 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.