Bug: The math::sum() SQL function should return a number when not used as an aggregate function #65
Closed
2 tasks done
Labels
bug
Something isn't working
Describe the bug
When using the
math::sum()
function on a field which is a number, and when not using aGROUP BY
clause to aggregate the record values, the function should return a number instead ofNONE
.Steps to reproduce
Running the following query...
currently returns...
Expected behaviour
If the value is not an array of numbers, and when not using a
GROUP BY
clause we would expect the function to return the field value as a number...SurrealDB version
surreal 1.0.0-beta.6 for macos on aarch64
Contact Details
No response
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: