ivan-kiselev opened a new pull request, #12450:
URL: https://github.com/apache/arrow-rs/pull/12450

   # Which issue does this PR close?
   
   - Closes #12449.
   
   # Rationale for this change
   
   Comparing an empty `RunArray` slice that starts past its first run overflows 
in `expand_from_runs` and `ree_physical_indices`.
   
   # What changes are included in this PR?
   
   `compare_op` returns an empty result for empty inputs once types are checked.
   
   # Are these changes tested?
   
   Yes. `test_ree_mixed` now compares empty slices at a nonzero offset against 
a scalar and against another `RunArray`.
   
   # Are there any significant user-facing changes?
   
   No.
   
   AI assistance was used for this PR but I thoroughly reviewed this change 
before opening a PR.
   


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