[SERVER-67011] $const folding in $add expression in $bucketAuto groupBy changes number of buckets Created: 03/Jun/22 Updated: 06/Dec/22 Resolved: 08/Jun/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Alya Berciu | Assignee: | Backlog - Query Optimization |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Assigned Teams: |
Query Optimization
|
||||||||||||
| Operating System: | ALL | ||||||||||||
| Steps To Reproduce: | See linked repro test file + comment on linked BF- this is a reduced version of the linked fuzzer failure. |
||||||||||||
| Participants: | |||||||||||||
| Linked BF Score: | 24 | ||||||||||||
| Description |
|
optimizes to:
which ends up producing just one bucket instead of two.
|
| Comments |
| Comment by Steve Tarzia [ 08/Jun/22 ] |
|
davis.haupt@mongodb.com thinks this will be fixed by https://jira.mongodb.org/browse/SERVER-63099. |