Time XDB连续查询的时间偏移量不工作

Time XDB连续查询的时间偏移量不工作,time,offset,influxdb,Time,Offset,Influxdb,我正在尝试使用时间偏移量进行XDB连续查询。然而,这个查询不起作用 这是我的CQ: CREATE CONTINUOUS QUERY perf_cq_1m ON temp BEGIN SELECT mean(rate) AS rate INTO temp.autogen.perf_cq_1m FROM temp.autogen.perflog GROUP BY time(1m, 2h) fill(0) END 我希望查询向前移动2h以测试功能。但是,子句groupbyt

我正在尝试使用时间偏移量进行XDB连续查询。然而,这个查询不起作用

这是我的CQ:

CREATE CONTINUOUS QUERY perf_cq_1m ON temp 
BEGIN
     SELECT mean(rate) AS rate INTO temp.autogen.perf_cq_1m FROM 
     temp.autogen.perflog GROUP BY time(1m, 2h) fill(0) 
END
我希望查询向前移动2h以测试功能。但是,子句
groupbytime(1m,2h)
并没有做到这一点

流入日志显示,连续查询以UTC时间边界执行,无需按时间[1m,2h]子句重新添加
分组。日志如下:

2019-03-29T02:40:00.510257Z info Continuous query execution (start) {"log_id": "0ETp9740000", "service": "continuous_querier", "trace_id": "0ETpwX~W000", "op_name": "continuous_querier_execute", "op_event": "start"}
2019-03-29T02:40:00.511279Z info Executing continuous query {"log_id": "0ETp9740000", "service": "continuous_querier", "trace_id": "0ETpwX~W000", "op_name": "continuous_querier_execute", "name": "perf_cq_1m", "db_instance": "temp", "start": "2019-03-29T02:39:00.000000Z", "end": "2019-03-29T02:40:00.000000Z"}
2019-03-29T02:40:00.512286Z info Executing query {"log_id": "0ETp9740000", "service": "query", "query": "SELECT mean(rate) AS rate INTO temp.autogen.perf_cq_1m FROM temp.autogen.perflog WHERE time >= '2019-03-29T02:39:00Z' AND time < '2019-03-29T02:40:00Z' GROUP BY time(1m, 2h) fill(0)"}
2019-03-29T02:40:00.510257Z信息连续查询执行(开始){“日志id”:“0ETp9740000”,“服务”:“连续查询器”,“跟踪id”:“0ETpwX~W000”,“操作名称”:“连续查询器执行”,“操作事件”:“开始”}
2019-03-29T02:40:00.511279Z信息执行连续查询{“日志id”:“0ETp9740000”,“服务”:“连续查询器”,“跟踪id”:“0ETpwX~W000”,“操作名称”:“连续查询器执行”,“名称”:“性能cq_1m”,“数据库实例”:“临时”,“开始”:“2019-03-29T02:39:00.000000 Z”,“结束”:“2019-03-29T02:40:00.000000 Z”
2019-03-29T02:40:00.512286Z信息执行查询{“日志id”:“0ETp9740000”,“服务”:“查询”,“查询”:“从temp.autogen.perf_cq_1m中选择平均值(速率)作为速率,从temp.autogen.perf_cq_1m中选择,其中时间>='2019-03-29T02:39:00Z'和时间<'2019-03-29T02:40:00Z'按时间分组(1m,2h)填充(0)}”
当地时间是2019-03-29 10:40:00

就我而言,子句
groupbytime(,)
make CQ在
where time>''和time<'
子句中以UTC时间为时间范围在本地时间执行,而不是同时更改执行时间和时间边界

我错过什么了吗? 感谢您的帮助