[SERVER-8568] $sqrt operator for the Aggregation Framework Created: 14/Feb/13 Updated: 05/Feb/16 Resolved: 01/Jul/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.6 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Gianfranco Palumbo | Assignee: | James Cohan |
| Resolution: | Done | Votes: | 10 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Quint Iteration 5, Quint Iteration 6 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
$sqrt calculates the square root |
| Comments |
| Comment by Githook User [ 01/Jul/15 ] |
|
Author: {u'username': u'jamesfcohan', u'name': u'James Cohan', u'email': u'james.cohan@10gen.com'}Message: |
| Comment by James Cohan [ 30/Jun/15 ] |
|
Failed to compile on solaris. It should be a simple fix. |
| Comment by Githook User [ 30/Jun/15 ] |
|
Author: {u'username': u'jamesfcohan', u'name': u'James Cohan', u'email': u'james.cohan@10gen.com'}Message: Revert " This reverts commit 4423ee5c495bf22646de6cb58b60de2a1d9330f4. |
| Comment by James Cohan [ 30/Jun/15 ] |
|
Need to document new $sqrt expression. $sqrt takes a numeric argument greater than or equal to 0. It always returns a double. Null values remain null and NaN input remains NaN. It will error on nonnumeric, non-null, and negative input. |
| Comment by Githook User [ 30/Jun/15 ] |
|
Author: {u'username': u'jamesfcohan', u'name': u'James Cohan', u'email': u'james.cohan@10gen.com'}Message: |
| Comment by Derick Rethans [ 05/Aug/13 ] |
|
https://github.com/derickr/mongo/tree/aggregation-framework-new-operators-pow-round-sqrt |