[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: SERVER-49037 SBE support for unary numeric expressions

Co-authored-by: Hirday Gupta <hirday.gupta@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/51bf9461caa0d49b0c2b250b7c6752916b9a2bfc

Generated at Thu Feb 08 05:18:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.