Mola-maker opened a new pull request, #12524:
URL: https://github.com/apache/arrow-rs/pull/12524

   # Which issue does this PR close?
   
   - Closes #12391
   
   # Rationale for this change
   
   Content-defined chunking hashed values the writer never wrote. Sliced lists, 
null-row child slots, and list views all shifted page boundaries. List views 
could also panic.
   
   # What changes are included in this PR?
   
   - `ContentDefinedChunker::calculate` now hashes the leaf position of each 
written value, from `ArrayLevels::non_null_indices`.
   - `ArrayLevels::slice_for_chunk` now spans the full index range, so reversed 
list views no longer underflow.
   - The writer passes `non_null_indices` through `get_arrow_chunks`.
   
   # Are these changes tested?
   
   Yes. Four new tests cover sliced lists, fixed-size lists with null rows, 
reversed list views, and overlapping list views.
   
   # Are there any significant user-facing changes?
   
   No.
   
   # AI usage disclosure
   
   Harness: Muse
   Model: Muse Spark
   Effort: default
   Role: Muse drafted the investigation, fix, and tests under my direction; I 
reviewed the diff and ran the tests.
   


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