[SERVER-68222] Make arguments evaluation order consistent between built-in and instruction functions in SBE Created: 22/Jul/22 Updated: 27/Oct/23 Resolved: 19/Dec/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Anton Korshunov | Assignee: | Kevin Cherkauer |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | query-offsite | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Query Execution
|
||||||||
| Participants: | |||||||||
| Description |
|
Current, for built-in functions we use the right-to-left evaluation order when compiling a EFunction expression. However, for instruction functions we use the left-to-right order. We should consider addressing this inconsistency. |
| Comments |
| Comment by Kevin Cherkauer [ 19/Dec/22 ] |
|
Thanks david.storch@mongodb.com and martin.neupauer@mongodb.com. Sounds like a case of "ain't broke, so don't fix," so I am closing this. |