[Bug] last查询乱序
- 主要语言
- Java
- 星标
- 6.4k
- 派生
- 1.2k
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 115
描述
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/iotdb/issues) and found nothing similar.
### Version
1.0.1
### Describe the bug and provide the minimal reproduce step

直接进行last查询。
### What did you expect to see?
希望last查询能按功能描述的一样正常运行
### What did you see instead?
last查询乱序,如果不使用last查询,而是select ...order by time desc 数据的时序又是正常的
### Anything else?
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
贡献指南
调研方向
首先在 IoTDB 1.0.1 上复现 last query,并将其结果顺序与 SELECT ... ORDER BY time DESC 进行比较。跟踪 last-query 的执行路径,以确定排序在哪个环节偏离了文档所描述的行为。当 last results 按预期顺序返回,并且该回归由测试覆盖时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- database
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100