Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mkysylov committed Mar 17, 2024
1 parent cb7b4e8 commit 60b76a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/polars-row/src/decode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ unsafe fn decode(rows: &mut [&[u8]], field: &SortField, data_type: &ArrowDataTyp
match data_type {
ArrowDataType::Null => NullArray::new(ArrowDataType::Null, rows.len()).to_boxed(),
ArrowDataType::Boolean => decode_bool(rows, field).to_boxed(),
ArrowDataType::BinaryView | ArrowDataType::LargeBinary => decode_binview(rows, field).to_boxed(),
ArrowDataType::BinaryView | ArrowDataType::LargeBinary => {
decode_binview(rows, field).to_boxed()
},
ArrowDataType::Utf8View => {
let arr = decode_binview(rows, field);
arr.to_utf8view_unchecked().boxed()
Expand Down

0 comments on commit 60b76a7

Please sign in to comment.