You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "fallintoplace (via GitHub)" <gi...@apache.org> on 2026/06/30 23:23:51 UTC

[PR] Reject negative chunked slice bounds [arrow-go]

fallintoplace opened a new pull request, #879:
URL: https://github.com/apache/arrow-go/pull/879

   ### What changed
   
   NewChunkedSlice now rejects negative start or end bounds in its top-level bounds check.
   
   ### Why
   
   The function already rejected out-of-range upper bounds and inverted ranges, but negative bounds could flow into the chunk slicing loop and produce inconsistent behavior from lower-level slicing.
   
   ### Validation
   
   - go test ./arrow/array -run 'TestChunkedSliceInvalid' -count=1
   - go test ./arrow/array -count=1
   - PARQUET_TEST_DATA=/Users/hoangvu/Code/OSS/arrow-go/parquet-testing/data ARROW_TEST_DATA=/Users/hoangvu/Code/OSS/arrow-go/arrow-testing/data go test ./... -count=1


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Reject negative chunked slice bounds [arrow-go]

Posted by "zeroshade (via GitHub)" <gi...@apache.org>.
zeroshade merged PR #879:
URL: https://github.com/apache/arrow-go/pull/879


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org