Browse Source

ESQL: make one more test deterministic (#107423)

Minimal double precision errors on multi-node execution:

```
row 0 column 0:0: expected "176.82" but was "176.82000000000002"
```
Luigi Dell'Aquila 1 year ago
parent
commit
469f4e32fb

+ 1 - 1
x-pack/plugin/esql/qa/testFixtures/src/main/resources/stats.csv-spec

@@ -235,7 +235,7 @@ h:double
 ;
 
 sumOfScaledFloat
-from employees | stats h = sum(height.scaled_float);
+from employees | stats h = sum(height.scaled_float) | eval h = round(h, 10);
 
 h:double
 176.82