Hi Zihan, Thanks for your contribution! I have reviewed your newest PRhttps://github.com/apache/iotdb/pull/18267 about this issue and left some comments.
Yours, Weihao Li At 2026-07-18 13:38:13, "Zh D" <[email protected]> wrote: >Hi all, > >I'm Zihan Dai, a GSoC 2026 contributor working on the ThingsBoard-on-IoTDB >Table Mode integration. I have a small query-correctness fix that has been >open for a while, and I'd be grateful if a committer could take a look -- >or approve the CI run so the checks can execute: > >PR #17411 -- Fix last_by returning a null row after deleting all table data >(issue #16985): >https://www.google.com/url?q=https://github.com/apache/iotdb/pull/17411&source=gmail&ust=1784438979404000&sa=E > >The root cause: when a value chunk is fully deleted, it was not being >marked as "modified", so the last-value cache kept serving the deleted row >and last_by returned it instead of an empty result. The fix is small and >coordinated across the delete-recognition and last-query paths, plus two >integration tests reproducing the full-delete scenario. I have just rebased >it onto current master, so it is conflict-free. > >Thank you for your time! > >Best regards, >Zihan Dai
