File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed
arrow/src/array/transform Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -26,13 +26,10 @@ pub(super) fn build_extend(array: &ArrayData) -> Extend {
2626 index : usize ,
2727 start : usize ,
2828 len : usize | {
29- mutable. child_data . iter_mut ( ) . for_each ( |child| {
30- child. extend (
31- index,
32- array. offset ( ) + start,
33- array. offset ( ) + start + len,
34- )
35- } )
29+ mutable
30+ . child_data
31+ . iter_mut ( )
32+ . for_each ( |child| child. extend ( index, start, start + len) )
3633 } ,
3734 )
3835 } else {
@@ -41,7 +38,7 @@ pub(super) fn build_extend(array: &ArrayData) -> Extend {
4138 index : usize ,
4239 start : usize ,
4340 len : usize | {
44- ( array . offset ( ) + start..array . offset ( ) + start + len) . for_each ( |i| {
41+ ( start..start + len) . for_each ( |i| {
4542 if array. is_valid ( i) {
4643 mutable
4744 . child_data
You can’t perform that action at this time.
0 commit comments