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.
This commit is contained in:
Alexander Spies 2025-05-14 08:21:28 +02:00 committed by GitHub
parent 9b1815c84a
commit e00b28e2a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1428,6 +1428,7 @@ docsStatsSumNestedExpression#[skip:-8.12.99,reason:supported in 8.13+]
FROM employees FROM employees
| STATS total_salary_changes = SUM(MV_MAX(salary_change)) | STATS total_salary_changes = SUM(MV_MAX(salary_change))
// end::docsStatsSumNestedExpression[] // end::docsStatsSumNestedExpression[]
| EVAL total_salary_changes = ROUND(total_salary_changes, 2)
; ;
// tag::docsStatsSumNestedExpression-result[] // tag::docsStatsSumNestedExpression-result[]