You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add instance values for week 1-4 and random daily values (decimals) for weekday 1-7 (total of 28 values in my test).
When running the WOQL above, the below error is thrown:
{
"api:message": "Type error for 1.42393795 which should be character",
"api:status": "api:failure",
"system:witnesses": [
{
"@type": "vio:ViolationWithDatatypeObject",
"vio:literal": "1.42393795",
"vio:message": "Type error for 1.42393795 which should be character",
"vio:type": "character"
}
]
}
To Reproduce
Steps to reproduce the behavior:
Add schema
Add instance data
Run WOQL
See error
Run same query with integer in the definition for value and whole numbers, and the query works.
Expected behavior
The sum of the group_by should be summed the same way for integers and decimals. Have tried both floats and arbitrary precision and getting the same issue for decimals.
Screenshots
See above.
Info (please complete the following information):
OS: DFRNT/TerminusDB 11.1.11
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
WOQL group_by with sum throws error on decimals but not integers.
WOQL:
Schema element:
Add instance values for week 1-4 and random daily values (decimals) for weekday 1-7 (total of 28 values in my test).
When running the WOQL above, the below error is thrown:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The sum of the group_by should be summed the same way for integers and decimals. Have tried both floats and arbitrary precision and getting the same issue for decimals.
Screenshots
See above.
Info (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: