[SERVER-53486] Allow rewrite to push projections on bucketed fields into $unpackBucket Created: 22/Dec/20  Updated: 29/Oct/23  Resolved: 10/Feb/21

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

Type: Task Priority: Major - P3
Reporter: Craig Homa Assignee: Hana Pearlman
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-53467 Investigate performance of $_internal... Closed
is depended on by SERVER-53977 Allow rewrite to produce only empty d... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2021-01-25, Query Optimization 2021-02-22
Participants:

 Description   

This should be done inside $unpackBucket's doOptimizeAt(). This only needs to handle the $project immediately after $unpackBucket.



 Comments   
Comment by Githook User [ 10/Feb/21 ]

Author:

{'name': 'Hana Pearlman', 'email': 'hana.pearlman@mongodb.com'}

Message: SERVER-53486: Allow rewrite to push projections on bucketed fields into $unpackBucket
Branch: master
https://github.com/mongodb/mongo/commit/461350791520a9f092630cbe3520e11dff09b746

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