[SERVER-32930] Trig functions in the aggregation framework Created: 26/Jan/18  Updated: 08/Jan/19  Resolved: 25/Dec/18

Status: Closed
Project: Core Server
Component/s: Aggregation Framework
Affects Version/s: None
Fix Version/s: 4.1.7

Type: New Feature Priority: Minor - P4
Reporter: Patrick Meredith Assignee: Patrick Meredith
Resolution: Done Votes: 1
Labels: expression
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-38638 Fix acos function in IntelRDFPMathLib... Closed
is depended on by CSHARP-2471 Trig functions for Aggregation Pipeli... Closed
Documented
is documented by DOCS-12338 Docs for SERVER-32930: Trig functions... Closed
Duplicate
is duplicated by SERVER-38699 Consine and Sine Aggregation Pipeline... Closed
Related
is related to SERVER-35013 Support base conversion in $convert Backlog
Backwards Compatibility: Fully Compatible
Participants:

 Description   

We need $sin, $cos, $tan, $asin, $acos, $atan, $atan2 functions in aggregation. Calling the underlying C++ std functions should suffice.



 Comments   
Comment by Patrick Meredith [ 25/Dec/18 ]

Final list of implemented functions:

$sin, $cos, $tan
$sinh, $cosh, $tanh
$asin, $acos, $atan
$asinh, $acosh, $atanh
$atan2
$degreesToRadians, $radianstToDegrees

Comment by Githook User [ 23/Dec/18 ]

Author:

{'username': 'pmeredit', 'email': 'pmeredit@gmail.com', 'name': 'Patrick Meredith'}

Message: SERVER-32930 Add trigonometric expressions to aggregation

Closes #1287

Signed-off-by: Charlie Swanson <charlie.swanson@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/43cd5d0e35df926eeaacec3f8d676bb5f6dd287b

Comment by Patrick Meredith [ 21/Oct/18 ]

Code Review: https://mongodbcr.appspot.com/225990001/

Comment by Asya Kamsky [ 12/May/18 ]

Not a duplicate.

 

Comment by Ian Whalen (Inactive) [ 02/Feb/18 ]

believe this is a duplicate. Asya to investigate to find the dupe - if not, will move to backlog.

Generated at Thu Feb 08 04:31:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.