meng-easonZhou opened a new issue, #16985:
URL: https://github.com/apache/iotdb/issues/16985

   ### Search before asking
   
   - [x] I searched in the [issues](https://github.com/apache/iotdb/issues) and 
found nothing similar.
   
   
   ### Version
   
   2.0.5 window版本
   
   ### Describe the bug and provide the minimal reproduce step
   
   表中对应的标签没有数据的情况下last_by查询是没有数据
   
   <img width="1284" height="258" alt="Image" 
src="https://github.com/user-attachments/assets/18def6d7-28ee-4057-b375-fa7322a160c2";
 />
   
   给这个对应的标签添加一条数据
   
   <img width="1273" height="268" alt="Image" 
src="https://github.com/user-attachments/assets/f56428fe-b14f-48c6-9dc5-d884d674ff18";
 />
   
   
   **问题出现**:删除这条数据之后,使用last_by 方法查询时会返回一条数据,这个数据全部返回的字段为空
   
   <img width="1324" height="344" alt="Image" 
src="https://github.com/user-attachments/assets/411892ca-83c2-4e19-ab59-3294dbcd6e31";
 />
   
   ### 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!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to