Skip to content

Commit

Permalink
Update rust/src/operations/transaction/state.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Will Jones <willjones127@gmail.com>
  • Loading branch information
rtyler and wjones127 authored Apr 29, 2023
1 parent b60995c commit ef7649d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rust/src/operations/transaction/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ impl DeltaTableState {
.map(|f| {
let field = ArrowField::try_from(f)?;
let corrected = match field.data_type() {
// TODO Datafusion seems to currently not implement comparsion kernes for booleans in
// dict arrays, so we have to omit converting that type for now.
// Dictionary encoding columns bools is a waste of space
DataType::Boolean => field.data_type().clone(),
_ => wrap_partition_type_in_dict(field.data_type().clone()),
};
Expand Down

0 comments on commit ef7649d

Please sign in to comment.