Jefffrey commented on code in PR #11546:
URL: https://github.com/apache/arrow-rs/pull/11546#discussion_r4267040731


##########
arrow-data/src/transform/run.rs:
##########
@@ -230,6 +230,8 @@ pub fn build_extend(array: &ArrayData) -> Extend<'_> {
             // Build run ends and values indices directly for batch processing
             macro_rules! build_and_process_impl {
                 ($run_end_type:ty) => {{
+                    let source_buffer = &source_buffer.typed_data()
+                        [source_buffer_offset..source_buffer_offset + 
source_buffer_len];

Review Comment:
   in practice it would be uncommon to have a runarray hit this case, of having 
a runs child arraydata with an offset as it requires manual construction via 
arraydata
   
   - its similar to https://github.com/apache/arrow-rs/pull/11536



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