Closed rjurney closed 11 years ago
Ruby: group_by().double_sum(:rows).granularity(:second).interval("2013-10-16T13:11:20-07:00/2013-10-16T13:12:20-07:00")
Query JSON: {"dataSource":"webstream","granularity":"second","intervals":["2013-10-16T13:11:20-07:00/2013-10-16T13:24:30-07:00"],"queryType":"groupBy","dimensions":[],"aggregations":[{"type":"doubleSum","name":"rows","fieldName":"rows"}]}
Note that the trailing interval has been changed from 2013-10-16T13:12:20-07:00 to 2013-10-16T13:24:30-07:00 (current time)
My issue, not rub-druid's.
Ruby: group_by().double_sum(:rows).granularity(:second).interval("2013-10-16T13:11:20-07:00/2013-10-16T13:12:20-07:00")
Query JSON: {"dataSource":"webstream","granularity":"second","intervals":["2013-10-16T13:11:20-07:00/2013-10-16T13:24:30-07:00"],"queryType":"groupBy","dimensions":[],"aggregations":[{"type":"doubleSum","name":"rows","fieldName":"rows"}]}
Note that the trailing interval has been changed from 2013-10-16T13:12:20-07:00 to 2013-10-16T13:24:30-07:00 (current time)