我正在对我的索引数据使用时间序列查询,以下代码片段:
{
"queryType": "timeseries",
"dataSource": "statistic-test-v1",
"granualarity": "hour",
"descending": "true",
"aggregations":[{"type": "longSum", "name": "output_imp", "fieldName": "impression"}],
"intervals": ["2016-08-22T01/2016-08-22T02"]
}
我确保它完全在间隔和聚合参数中。但是当我使用命令行查询它时:
curl -L -H'Content-Type: application/json' -XPOST --data-binary @quickstart/ants-data/time-series-query-statistic-test-v1.json http://localhost:8082/druid/v2/?pretty
结果是这样的:
{
"error" : "null exception"
}
谁能解释为什么会出错并帮助我修复它?谢谢十亿。