Skip to content
cheddar edited this page Oct 30, 2012 · 2 revisions

Aggregations are specifications of processing that should happen on the various metrics available in Druid. Available aggregations are detailed below.

  • longSum – This computes the sum of values as a 64-bit, signed integer. An example spec is
    {"type" : "longSum", "name" : "imps, "fieldName" : "impressions"}
    • fieldName is the name of the metric column to sum over and
    • name is the output name for the summed value.
  • doubleSum – Same as “longSum” except the result is a 64-bit floating point.
  • count – Computes the row count that match the filters
  • min – Finds the minimum metric value
  • max – Finds the maximum metric value
Clone this wiki locally