重现:
- 将您的系统区域设置为:+04:00
- 开放服务器
- 打开命令行
- 执行
set time_zone=+08:00 - 执行查询
select count(s1) from root.sg.d1 group by ([2020-03-01, 2021-01-01), 1mo)
结果是

重现:
set time_zone=+08:00select count(s1) from root.sg.d1 group by ([2020-03-01, 2021-01-01), 1mo)结果是

也许您使用了尚未修复此错误的先前版本。它已在https://github.com/apache/iotdb/issues/3545中修复。
欢迎使用最新版本。它更稳定。