Mola-maker commented on PR #12524: URL: https://github.com/apache/arrow-rs/pull/12524#issuecomment-7418507783
before I push the final test cleanup, could you confirm if this fix direction aligns with the expected CDC behavior? 1. **Unified value lookup via `non_null_indices`**: In `cdc.rs`, remove `leaf_offset` and consistently hash values using `non_null_indices` across all branches (including non-repeated paths, aligning with sparse selection in #12350), ensuring page boundaries depend strictly on actually written values. 2. **Safe `ListView` slicing**: `slice_for_chunk` spans `[min_index..max_index]` to handle reversed, sparse, or overlapping `ListView` offsets without panicking. I'm not sure whether the `leaf_offset`should be kept or the current fix is work well Could anyone take a look of this? -- 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]
