vegarsti opened a new issue, #8708:
URL: https://github.com/apache/arrow-rs/issues/8708

   #8589 introduces a dependency on arrow-ord in arrow-cast because it uses the 
partition kernel for casting RunEndEncoded (REE) arrays. We are trying to keep 
the number of dependencies to a minimum.
   
   Probably we can also partition a (single) column using `eq` and an offset to 
look for consecutive rows which are different.
   
   Something like
   
   ```rust
   let arr = ...;
   let arr_shift1 = arr.slice(1, arr.len()-1);
   let transitions = eq(arr, arr_shift_1);
   ```
   
   However, the `eq` kernels is also in `arrow-ord` so I am not sure there is a 
way around it
   
   _Originally posted by @alamb in 
https://github.com/apache/arrow-rs/pull/8589#discussion_r2456004251_
               


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