druid-io / pydruid

A Python connector for Druid
Other
506 stars 194 forks source link

Add doublemean aggregator, update aggregator tests #268

Open xaptronic opened 2 years ago

xaptronic commented 2 years ago

Recently used pydruid in a project where I wanted to compute means/averages over periods of time / dimensions. Worked around it by writing {"type":"doubleMean", "fieldName": "foo"} but thought I could add in a wrapper for it like the others.