Files
impala/testdata/workloads/functional-query/queries/QueryTest
Matthew Jacobs b83aa4984b Add compute histograms aggregate function
Adds an aggregate function to compute equi-depth histograms. The UDA
creates a sample of the column values using weighted reservoir sampling
and computes the histogram from the sorted sample.

TODO:
* Extract highly frequent values into separate buckets (i.e. 'compressed
  histogram').
* Expose separate finalize fn to produce samples and histogram data for stats

Change-Id: I314ce5fb8c73b935c4d61ea5bbd6816c59b3b41e
Reviewed-on: http://gerrit.ent.cloudera.com:8080/3552
Reviewed-by: Matthew Jacobs <mj@cloudera.com>
Tested-by: jenkins
(cherry picked from commit c5c475712f88244e15160befaf4e99d6e165a148)
Reviewed-on: http://gerrit.ent.cloudera.com:8080/3608
2014-07-25 00:21:10 -07:00
..
2014-05-16 22:26:11 -07:00
2014-06-24 02:14:27 -07:00
2014-01-08 10:48:09 -08:00
2014-06-11 03:10:11 -07:00
2014-06-11 03:10:11 -07:00
2014-06-11 03:10:11 -07:00
2014-06-11 03:10:11 -07:00
2014-06-24 02:14:27 -07:00
2014-06-24 02:14:27 -07:00
2014-06-24 02:14:27 -07:00
2014-03-17 17:30:15 -07:00
2014-06-24 02:14:27 -07:00
2014-06-11 03:10:11 -07:00
2014-06-24 02:14:27 -07:00
2014-06-20 13:35:10 -07:00
2014-06-24 02:14:27 -07:00
2014-06-24 02:14:27 -07:00
2014-06-24 02:14:27 -07:00
2014-06-26 22:17:56 -07:00
2014-01-08 10:48:09 -08:00
2014-06-20 13:35:10 -07:00
2014-06-24 02:14:27 -07:00