Skip to content

Commit b905626

Browse files
rtylerwjones127
andcommitted
Update rust/src/operations/transaction/state.rs
Co-authored-by: Will Jones <[email protected]>
1 parent 90ab1b2 commit b905626

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

rust/src/operations/transaction/state.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ impl DeltaTableState {
4343
.map(|f| {
4444
let field = ArrowField::try_from(f)?;
4545
let corrected = match field.data_type() {
46-
// TODO Datafusion seems to currently not implement comparsion kernes for booleans in
47-
// dict arrays, so we have to omit converting that type for now.
46+
// Dictionary encoding columns bools is a waste of space
4847
DataType::Boolean => field.data_type().clone(),
4948
_ => wrap_partition_type_in_dict(field.data_type().clone()),
5049
};

0 commit comments

Comments
 (0)