Rich-T-kid commented on code in PR #10807:
URL: https://github.com/apache/arrow-rs/pull/10807#discussion_r3896167353


##########
arrow-array/src/array/run_array.rs:
##########
@@ -116,30 +116,60 @@ impl<R: RunEndIndexType> RunArray<R> {
     /// - If `run_ends` has any null values
     /// - If `run_ends` doesn't consist of strictly increasing positive 
integers
     pub fn try_new(run_ends: &PrimitiveArray<R>, values: &dyn Array) -> 
Result<Self, ArrowError> {

Review Comment:
   this is also in line with c++ 
https://github.com/apache/arrow/blob/06e3b9a864a78c973c1436271ecf7bc897deecd0/cpp/src/arrow/util/ree_util.cc#L203



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