[SERVER-49037] Implement SBE support for unary numeric agg expressions Created: 23/Jun/20 Updated: 29/Oct/23 Resolved: 23/Sep/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.8.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Justin Seyster | Assignee: | Justin Seyster |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | qexec-team | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Query 2020-08-24, Query 2020-09-07, Query 2020-09-21, Query 2020-10-05 |
| Participants: |
| Description |
|
Currently, sbe_stage_builder_expression.cpp can translate the $abs agg expression into an SBE representation. To this, we will add $ceil, $exp, $floor, $ln, $log10, and $sqrt. These expressions all have identical semantics (in terms of what inputs are valid, the results of invalid inputs, etc) except for the actual numerical function that is applied, so they will be able to share a lot of code. |
| Comments |
| Comment by Githook User [ 23/Sep/20 ] |
|
Author: {'name': 'Justin Seyster', 'email': 'justin.seyster@mongodb.com', 'username': 'jseyster'}Message: Co-authored-by: Hirday Gupta <hirday.gupta@mongodb.com> |