Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nicklan committed Oct 18, 2024
1 parent 5e65247 commit 9020a25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kernel/src/engine/arrow_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,10 @@ fn get_indices(
}
}
_ => {
// we don't care about matching on nullability or metadata here so pass `false`
// as the final argument. These can differ between the delta schema and the
// parquet schema without causing issues in reading the data. We fix them up in
// expression evaluation later.
match ensure_data_types(&requested_field.data_type, field.data_type(), false)? {
DataTypeCompat::Identical => {
reorder_indices.push(ReorderIndex::identity(index))
Expand Down

0 comments on commit 9020a25

Please sign in to comment.