Skip to content

Commit

Permalink
Add unhandled cases for arrow-to-arrow conversion (#10)
Browse files Browse the repository at this point in the history
This is necessary to compile `re_arrow2` with the `arrow` feature.
  • Loading branch information
jleibs authored Aug 30, 2024
1 parent 528f6c7 commit 88bc21c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/datatypes/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,10 @@ impl From<arrow_schema::DataType> for DataType {
DataType::Decimal128(precision, scale) => Self::Decimal(precision as _, scale as _),
DataType::Decimal256(precision, scale) => Self::Decimal256(precision as _, scale as _),
DataType::RunEndEncoded(_, _) => panic!("Run-end encoding not supported by arrow2"),
DataType::BinaryView => panic!("BinaryView encoding not supported by arrow2"),
DataType::Utf8View => panic!("Utf8View encoding not supported by arrow2"),
DataType::ListView(_) => panic!("ListView encoding not supported by arrow2"),
DataType::LargeListView(_) => panic!("LargeListView encoding not supported by arrow2"),
}
}
}
Expand Down

0 comments on commit 88bc21c

Please sign in to comment.