mirror of https://github.com/apache/druid.git
query file fixed
This commit is contained in:
parent
4e2f6380e6
commit
f114e2f425
|
@ -1,12 +1,27 @@
|
||||||
{
|
{
|
||||||
"queryType": "groupBy",
|
"queryType":"groupBy",
|
||||||
"dataSource": "webstream",
|
"dataSource":"webstream",
|
||||||
"granularity": "all",
|
"granularity":"minute",
|
||||||
"dimensions": ["country"],
|
"dimensions":[
|
||||||
"aggregations":[
|
"timezone"
|
||||||
{ "type": "count", "name": "rows"},
|
],
|
||||||
{ "type": "doubleSum", "fieldName": "known_users", "name": "known_users"}
|
"aggregations":[
|
||||||
],
|
{
|
||||||
"filter": { "type": "selector", "dimension": "geo_region", "value": "CA" },
|
"type":"count",
|
||||||
"intervals":["2012-10-01T00:00/2020-01-01T00"]
|
"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"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue