Skip to content

Commit

Permalink
Forgot to push to the columns in the else case.
Browse files Browse the repository at this point in the history
  • Loading branch information
nglime committed Dec 31, 2024
1 parent 4422add commit d0dc5a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arrow-array/src/record_batch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ impl RecordBatch {
}
} else {
let updated_field = Field::new(name.concat(), data_type.clone(), nullable);
columns.push(c.clone());
fields.push(Arc::new(updated_field));
}
}
Expand Down

0 comments on commit d0dc5a7

Please sign in to comment.