[ 
https://issues.apache.org/jira/browse/CASSANDRA-8827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14326162#comment-14326162
 ] 

Benedict commented on CASSANDRA-8827:
-------------------------------------

Rather than "SAMPLE 10%", it might be nicer to say something like "ERROR < 1%", 
or "WITH 10% CHANCE OF 1% ERROR", and sample progressively wider quantities of 
data until the probability of the aggregated value being outside of 1% of its 
real value is less than 10%

> Aggregate sampling
> ------------------
>
>                 Key: CASSANDRA-8827
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8827
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Robert Stupp
>            Priority: Minor
>
> Aggregations have been implemented in CASSANDRA-4914.
> Some aggregates could benefit from sampling aggregates. (Dump) example: 
> {{SELECT avg(value) FROM sales SAMPLE 10 PERCENT}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to