[SERVER-56449] Allow $derivative and $integral to use descending sortBy (document windows) Created: 28/Apr/21  Updated: 29/Oct/23  Resolved: 03/Jun/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.0.0-rc1, 5.1.0-rc0

Type: New Feature Priority: Major - P3
Reporter: Sam Mercier Assignee: Sam Mercier
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-55588 Add translation logic for $integral e... Closed
Duplicate
is duplicated by SERVER-56448 Allow $derivative and $integral to us... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Query Optimization 2021-05-17, Query Optimization 2021-05-31, Query Optimization 2021-06-14
Participants:

 Description   

This should just be flipping a switch/removing some checks. Because of the symmetry in these functions there shouldn't be any confusion around the meaning of $derivative/$integral with asc/desc sortBy's.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 04/Jun/21 ]

Author:

{'name': 'samontea', 'email': 'merciers.merciers@gmail.com', 'username': 'samontea'}

Message: SERVER-56449 Allow $derivative and $integral to use descending sortBy (document windows)
Branch: v5.0
https://github.com/mongodb/mongo/commit/86bd0149017382a2c69125ff8d46c0cd33e3cc14

Comment by Githook User [ 03/Jun/21 ]

Author:

{'name': 'samontea', 'email': 'merciers.merciers@gmail.com', 'username': 'samontea'}

Message: SERVER-56449 Allow $derivative and $integral to use descending sortBy (document windows)
Branch: master
https://github.com/mongodb/mongo/commit/37767309fa36d7828e41618f0d940f9ac6fa4a65

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