Skip to content

Commit e00b28e

Browse files
authored
Round in stats test for docs (#128048)
In Serverless tests, we sometimes hit rounding errors because even single node tests are executed on 3 nodes there. Rounding makes this test deterministic.
1 parent 9b1815c commit e00b28e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,6 +1428,7 @@ docsStatsSumNestedExpression#[skip:-8.12.99,reason:supported in 8.13+]
14281428
FROM employees
14291429
| STATS total_salary_changes = SUM(MV_MAX(salary_change))
14301430
// end::docsStatsSumNestedExpression[]
1431+
| EVAL total_salary_changes = ROUND(total_salary_changes, 2)
14311432
;
14321433

14331434
// tag::docsStatsSumNestedExpression-result[]

0 commit comments

Comments
 (0)