Skip to content

Commit

Permalink
Add unhandled cases for arrow-to-arrow conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
jleibs committed Aug 29, 2024
1 parent 528f6c7 commit 65ed5e4
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 65ed5e4

Please sign in to comment.