You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/08/17 18:01:57 UTC

[GitHub] [druid] suneet-s commented on a change in pull request #10285: Add note about aggregations on floats

suneet-s commented on a change in pull request #10285:
URL: https://github.com/apache/druid/pull/10285#discussion_r471665827



##########
File path: docs/development/extensions-core/stats.md
##########
@@ -44,6 +44,13 @@ This algorithm was proven to be numerically stable by J.L. Barlow in
 "Error analysis of a pairwise summation algorithm to compute sample variance"
 Numer. Math, 58 (1991) pp. 583--590
 
+> As with all [aggregators](../../querying/sql.md#aggregation-functions), the order of operations across segments is
+> non-deterministic. This means that if this aggregator operates with an input type of "float" or "double", the result
+> of the aggregation will not be precisely the same across multiple runs of the query.

Review comment:
       ```suggestion
   > of the aggregation may not be precisely the same across multiple runs of the query.
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org