[SERVER-53489] Ensure and test that $sample is placed directly after $unpackBucket by rewrite step Created: 22/Dec/20 Updated: 29/Oct/23 Resolved: 31/Mar/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 5.0.0-rc0 |
| 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 | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Query Optimization 2021-04-05 |
| Participants: |
| Description |
|
This is necessary to engage the sample optimization in pipeline_d. This should be done inside $unpackBucket's doOptimizeAt(). |
| Comments |
| Comment by Githook User [ 31/Mar/21 ] |
|
Author: {'name': 'Hana Pearlman', 'email': 'hana.pearlman@mongodb.com'}Message: |
| Comment by Jacob Evans [ 15/Mar/21 ] |
|
Yes, definitely. I'll modify the title and description to match the goal of making sure the sample is in the right place for pipeline_d. |
| Comment by David Storch [ 15/Mar/21 ] |
|
jacob.evans I think the title of this ticket is stale based on our conversation at the design review meeting. Perhaps we can repurpose this ticket about testing scenarios where we expect rewrites to allow the optimized $sample for time series collections to kick in? Like, cases where we need to swap the $sample forward, for example? CC eric.cox |