[SERVER-62027] Visitor and walker mechanism for Pipeline/DocumentSource Created: 13/Dec/21  Updated: 29/Oct/23  Resolved: 14/Dec/22

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

Type: Task Priority: Major - P3
Reporter: Nicholas Zolnierz Assignee: Ben Shteinfeld
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-71943 [CQF] Move ABT translation to the new... Closed
is depended on by SERVER-71944 [CQF] Move ABT fallback to the new Do... Closed
Duplicate
is duplicated by SERVER-62657 Improve document source walker for ne... Closed
Related
related to SERVER-72122 Complete TODO listed in SERVER-62027 Closed
Backwards Compatibility: Fully Compatible
Sprint: QO 2022-01-24, QO 2022-02-07, QO 2022-05-16, QO 2022-05-30, QO 2022-10-31, QO 2022-11-14, QO 2022-11-28, QO 2022-12-12, QO 2022-12-26
Participants:

 Description   

This ticket involves designing a solution to work with enterprise-only stages as well as getting rid of the dynamic casts that were carried over from the POC.



 Comments   
Comment by Githook User [ 13/Dec/22 ]

Author:

{'name': 'Ben Shteinfeld', 'email': 'ben.shteinfeld@mongodb.com', 'username': 'bshteinfeld'}

Message: SERVER-62027 Introduce a mechanism for defining visitors over DocumentSources
Branch: master
https://github.com/mongodb/mongo/commit/df32b43a03177b6cb9295549c6f8c5ca384ef82a

Comment by Hana Pearlman [ 08/Jul/22 ]

Un-assigning from myself for now since this isn't scheduled for several weeks

Comment by David Storch [ 09/Feb/22 ]

It's not necessarily urgent. This is just generic infrastructure that you could imagine plenty of uses for. It seems worthwhile to have a solid implementation of this, since it is relatively fundamental.

In addition to the improvements listed in the description, do we need a solution for walking sub-pipelines of $lookup and $unionWith?

Comment by Nicholas Zolnierz [ 08/Feb/22 ]

david.storch In my opinion I don't think its urgent, what's wrong with temporarily keeping the dynamic casts?

Comment by David Storch [ 07/Feb/22 ]

nicholas.zolnierz I wonder if we should schedule this one even thought the ABT project has been put on hold? This seems like important followup after merging the optimizer branch.

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