[Bug] timestamp_precision=us/ns使用group by滑动时间统计错误
- Dominant language
- Java
- Stars
- 6.4k
- Forks
- 1.2k
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 115
Description
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/iotdb/issues) and found nothing similar.
### Version
0.13.3
### Describe the bug and provide the minimal reproduce step
timestamp_precision=us/ns使用group by滑动时间统计错误
使用SQL为:SELECT count(successTimes) as successTimes FROM root.bridata.dss.t_model.bridatafusionv2.NODE_DATA.1764953506462040064.a0fqzicu7b486019276 GROUP BY ([2024-03-05 22:00:00, 2024-03-06 11:00:00),1h)


### What did you expect to see?
正确统计
### What did you see instead?
无法正确统计
### Anything else?
_No response_
### Are you willing to submit a PR?
- [X] I'm willing to submit a PR!
Contributor guide
Research direction
Start by reproducing the reported GROUP BY sliding-window query on IoTDB 0.13.3 with timestamp_precision set to us and ns. Compare the returned counts with the expected one-hour windows over the stated time range; done means both precisions produce correct statistics.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100