#16985·iotdb

[Bug] 2.0.5版本当数据删除之后再使用last_by函数查询会有数据返回,且这条数据为null

Author: meng-easonZhouCreated Jan 6, 2026Updated Aug 4, 2026

Search before asking

  • I searched in the issues and found nothing similar.

Version

2.0.5 window版本

Describe the bug and provide the minimal reproduce step

表中对应的标签没有数据的情况下last_by查询是没有数据

Image

给这个对应的标签添加一条数据

Image

问题出现:删除这条数据之后,使用last_by 方法查询时会返回一条数据,这个数据全部返回的字段为空

Image

What did you expect to see?

数据删除之后使用last_by查询应该不返回任何数据

What did you see instead?

数据删除之后使用last_by查询应该返回一条数据,而且这条数据全部字段都返回了null

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!