Skip to content

Commit

Permalink
Fix double precision error on CSV spec tests (#108845)
Browse files Browse the repository at this point in the history
The test failed repeatedly due to small differences in the final result,
especially in multi-node. These differences are only due to the order of
double operations

https://gradle-enterprise.elastic.co/s/yke3pbfiqsvfo/console-log?page=5
https://gradle-enterprise.elastic.co/s/yjustunaoqnss/console-log?anchor=4650&page=5

Related to #108560
  • Loading branch information
luigidellaquila committed May 21, 2024
1 parent 48159b6 commit 6a31121
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ l:long
;

sumOfDouble
from employees | stats h = sum(height);
from employees | stats h = round(sum(height), 10);

h:double
176.82
Expand Down

0 comments on commit 6a31121

Please sign in to comment.