shuwenwei opened a new pull request, #18647:
URL: https://github.com/apache/iotdb/pull/18647

   ## Summary
   - Preserve a prepared duplicate-timestamp group when switching fake pages 
without moving the TVList iterator cursor.
   - Add ASC and DESC regression coverage for sparse aligned rows split across 
duplicate timestamps.
   
   ## Root cause
   TVListIterator.skipToCurrentTimeRangeStartPosition unconditionally cleared 
probeNext even when the cursor did not move. An empty intermediate page could 
therefore invalidate selectedIndices that had already merged a future 
duplicate-timestamp group, causing later output to drop earlier non-null column 
values.
   
   ## Validation
   - The ASC regression test fails before the fix with expected 2 but actual 
null.
   - No Maven build, formatting, or test command was run in this environment 
after the fix.


-- 
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