From f114e2f425fb8fefba2c8a3372fd478f92020274 Mon Sep 17 00:00:00 2001 From: Dhruv Parthasarathy Date: Thu, 18 Jul 2013 13:37:33 -0700 Subject: [PATCH] query file fixed --- examples/bin/examples/webstream/query.body | 35 +++++++++++++++------- 1 file changed, 25 insertions(+), 10 deletions(-) diff --git a/examples/bin/examples/webstream/query.body b/examples/bin/examples/webstream/query.body index f1103b406de..68189c27733 100644 --- a/examples/bin/examples/webstream/query.body +++ b/examples/bin/examples/webstream/query.body @@ -1,12 +1,27 @@ { - "queryType": "groupBy", - "dataSource": "webstream", - "granularity": "all", - "dimensions": ["country"], - "aggregations":[ - { "type": "count", "name": "rows"}, - { "type": "doubleSum", "fieldName": "known_users", "name": "known_users"} - ], - "filter": { "type": "selector", "dimension": "geo_region", "value": "CA" }, - "intervals":["2012-10-01T00:00/2020-01-01T00"] + "queryType":"groupBy", + "dataSource":"webstream", + "granularity":"minute", + "dimensions":[ + "timezone" + ], + "aggregations":[ + { + "type":"count", + "name":"rows" + }, + { + "type":"doubleSum", + "fieldName":"known_users", + "name":"known_users" + } + ], + "filter":{ + "type":"selector", + "dimension":"country", + "value":"US" + }, + "intervals":[ + "2013-06-01T00:00/2020-01-01T00" + ] }