Druid Quickstart example query does not work on PyDruid

I’m trying to use PyDruid to execute the example query given in the Druid Quickstart for command line execution.

When I attempt to execute the example query using the command line, there is no problem, as shown below.

But when I attempt to execute the example query using PyDruid, there is a problem, as shown below.

I believe that I have correctly mapped the query syntax from the JSON file used for command line execution to the Python code used for PyDruid execution. Is it possible that this particular query simply won’t work on PyDruid?

Thanks,

Nathan

Nathan try adding this and rerun

from pydruid.utils.aggregators import longsum, doublesum

Also I would change aggregations={“Edits”: longsum(“count”)}