[SERVER-45535] Support explain for $unionWith aggregation stage Created: 13/Jan/20  Updated: 29/Oct/23  Resolved: 02/Mar/20

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

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

Issue Links:
Depends
depends on SERVER-45526 Support union with sharded collections Closed
is depended on by SERVER-45712 Remove flag guard for $unionWith Closed
Related
related to SERVER-47381 Complete TODO listed in SERVER-45535 Closed
is related to SERVER-49469 explain executionStats for $unionWith... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2020-02-10, Query 2020-02-24, Query 2020-03-09
Participants:
Linked BF Score: 45

 Description   

The output of explain for $unionWith will include the plan for the sub-pipeline, including the "shardsPart" and "mergerPart" if the union'ed collection is sharded.



 Comments   
Comment by Asya Kamsky [ 13/Jul/20 ]

Is executionStats also supposed to be supported as part of this work?

 

Comment by Githook User [ 02/Mar/20 ]

Author:

{'username': 'TedTuckman', 'name': 'Ted Tuckman', 'email': 'ted.tuckman@mongodb.com'}

Message: SERVER-45535 Have $unionWith support explain
Branch: master
https://github.com/mongodb/mongo/commit/89f31974db8404d59e889e81d108f0bf1090cef1

Comment by Githook User [ 28/Feb/20 ]

Author:

{'name': 'Charlie Swanson', 'username': 'cswanson310', 'email': 'charlie.swanson@mongodb.com'}

Message: Revert "SERVER-45535 Support explain in $unionWith"

This reverts commit d1429a5a66efa56fba4ab01dc4fa925b29371fdc.
Branch: master
https://github.com/mongodb/mongo/commit/f9c85d489e1d0dd7e9458d67af3a7675c0f2200c

Comment by Githook User [ 28/Feb/20 ]

Author:

{'name': 'Ted Tuckman', 'username': 'TedTuckman', 'email': 'ted.tuckman@mongodb.com'}

Message: SERVER-45535 Support explain in $unionWith
Branch: master
https://github.com/mongodb/mongo/commit/d1429a5a66efa56fba4ab01dc4fa925b29371fdc

Comment by Githook User [ 28/Feb/20 ]

Author:

{'name': 'Ted Tuckman', 'username': 'TedTuckman', 'email': 'ted.tuckman@mongodb.com'}

Message: Revert "SERVER-45535 Have $unionWith support explain"

This reverts commit c01de187585576180188d2598e5229a93a0743ed.
Branch: master
https://github.com/mongodb/mongo/commit/6162bd9a335ebf8c87e1af657439d02d48bbc809

Comment by Githook User [ 27/Feb/20 ]

Author:

{'name': 'Ted Tuckman', 'username': 'TedTuckman', 'email': 'ted.tuckman@mongodb.com'}

Message: SERVER-45535 Have $unionWith support explain
Branch: master
https://github.com/mongodb/mongo/commit/c01de187585576180188d2598e5229a93a0743ed

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