Literal and field name redaction for DocumentSource (SERVER-73326)

[SERVER-74782] setWindowFields redaction Created: 13/Mar/23  Updated: 29/Oct/23  Resolved: 21/Mar/23

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

Type: Sub-task Priority: Major - P3
Reporter: Joshua Lapacik (Inactive) Assignee: Will Buerger
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: QO 2023-03-20, QO 2023-04-03
Participants:

 Description   

$setWindowFields has the following fields:

  • partitionBy
  • sortBy
  • output

"partitionBy" is an agg expression and should be serialized as one. "sortBy" is a sort expression and should be serialized accordingly. Within "output", window operators should be serialized as accumulator expressions. All other elements should be serialized as either enum types or constants. Note that strings representing enum types should be preserved whereas constant values should be abstracted during key generation.



 Comments   
Comment by Githook User [ 21/Mar/23 ]

Author:

{'name': 'Will Buerger', 'email': 'will.buerger@mongodb.com', 'username': 'wbuerger46'}

Message: SERVER-74782: $setWindowFields redaction
Branch: master
https://github.com/mongodb/mongo/commit/dc2b5c3b0d45f1083609fea07323f715e2888051

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