mirror of https://github.com/apache/druid.git
13 lines
400 B
Plaintext
13 lines
400 B
Plaintext
{
|
|
"queryType": "groupBy",
|
|
"dataSource": "twitterstream",
|
|
"granularity": "all",
|
|
"dimensions": ["lang", "utc_offset"],
|
|
"aggregations":[
|
|
{ "type": "count", "name": "rows"},
|
|
{ "type": "doubleSum", "fieldName": "tweets", "name": "tweets"}
|
|
],
|
|
"filter": { "type": "selector", "dimension": "lang", "value": "en" },
|
|
"intervals":["2012-10-01T00:00/2020-01-01T00"]
|
|
}
|