[Bug] 2.0.4版本在服务器内存资源不足时,使用C#的库,按照time>2025-09-25 17:33:10.555条件,查询返回的数据错误,返回的有小于查询条件时间的数据

未关闭
#16,489 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
csharp, java
领域
databases

调研方向

首先,通过 sessionPool.ExecuteQueryStatementAsync 在服务器内存压力下复现 SQL 查询,然后检查使用 dataSet.next() 消费行的方式。确认过滤会排除小于或等于 2025-09-25 17:33:10.555 的时间戳,并且结果按时间升序排列;两个条件都满足时,该 issue 即完成。

由索引模型根据 Issue 内容生成。

描述

Search before asking
  • I searched in the issues and found nothing similar.
Version

os:rocky linux 10.0
iotdb:apach-iotdb v2.0.4
C#程序集:Apach.IoTDB 2.0.2

Describe the bug and provide the minimal reproduce step

string sql=select * from root.edge.device where time>2025-09-25 17:33:10.555 order by time asc limit 128;
using var dataSet=await sessionPool.ExecuteQueryStatementAsync(sql,5000);
返回的数据中,存在时间戳小于2025-09-25 17:33:10.555的数据。
dataSet.next()读取行,多行中的数据没有按照时间排序,存在时间乱序现象

What did you expect to see?

按照条件返回正确数据

What did you see instead?

返回数据错误,顺序也不对

Anything else?

No response

Are you willing to submit a PR?
  • I'm willing to submit a PR!
主要语言
Java
星标
6.4k
派生
1.2k
平均合并
1 天 12 小时
30 天内合并 PR
284

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

apache/iotdb 的其他 Issue

查看 apache/iotdb 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。