[SERVER-78144] [CQF] Lowering for FunctionCall [shardFilter] Created: 15/Jun/23 Updated: 29/Oct/23 Resolved: 21/Jul/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Ben Shteinfeld | Assignee: | Richard Hausman (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | auto-reverted | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Assigned Teams: |
Query Optimization
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | QO 2023-07-10, QO 2023-07-24 | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
Once the optimizer starts generating physical plans which perform shard filtering, we will need to update the lowering code to generate the corresponding SBE plan. The ABT representation is an n-ary FunctionCall, with each parameter corresponding to a Variable representing a field of the shard key. The SBE representation is a 2-arg function with the first parameter pointer to a slot in the runtime environment representing the ShardFilterer and the second parameter being an expression evaluating to a BSONObj representing the shard key. |
| Comments |
| Comment by Githook User [ 20/Jul/23 ] |
|
Author: {'name': 'Richard Hausman', 'email': 'richard.hausman@mongodb.com', 'username': 'rhausman'}Message: |
| Comment by xgen-buildbaron-user [ 20/Jul/23 ] |
|
Ticket re-opened due to revert. run_unittests began a consistent failure of build/install/bin/abt_lowering_test |
| Comment by Githook User [ 20/Jul/23 ] |
|
Author: {'name': 'auto-revert-processor', 'email': 'dev-prod-dag@mongodb.com', 'username': ''}Message: Revert " This reverts commit dd736a7dded1d3a1a2977592d64b2650fb2806f4. |
| Comment by Githook User [ 19/Jul/23 ] |
|
Author: {'name': 'Richard Hausman', 'email': 'richard.hausman@mongodb.com', 'username': 'rhausman'}Message: |