druid-io / pydruid

A Python connector for Druid

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

client.scan how to change resolution from minute to hour?

sofiavaldez77 opened this issue · comments

commented

Hi! I'm trying to use client.scan for a time range of 5 days to output the mean values from a "value" column for every 1 hour (the average value over that hour or the value at that hour?). But right now, it outputs the results for every minute. I tried changing "granularity" to hour but that doesn't change anything.

Anyone know how to change the resolution?

Having same trouble, too. I presume scan() doesn't supprt granularity option. Instead others like timestamp() do.