Skip to content
This repository was archived by the owner on Apr 14, 2025. It is now read-only.

Commit 65ed5e4

Browse files
committed
Add unhandled cases for arrow-to-arrow conversion
1 parent 528f6c7 commit 65ed5e4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/datatypes/mod.rs

+4
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,10 @@ impl From<arrow_schema::DataType> for DataType {
338338
DataType::Decimal128(precision, scale) => Self::Decimal(precision as _, scale as _),
339339
DataType::Decimal256(precision, scale) => Self::Decimal256(precision as _, scale as _),
340340
DataType::RunEndEncoded(_, _) => panic!("Run-end encoding not supported by arrow2"),
341+
DataType::BinaryView => panic!("BinaryView encoding not supported by arrow2"),
342+
DataType::Utf8View => panic!("Utf8View encoding not supported by arrow2"),
343+
DataType::ListView(_) => panic!("ListView encoding not supported by arrow2"),
344+
DataType::LargeListView(_) => panic!("LargeListView encoding not supported by arrow2"),
341345
}
342346
}
343347
}

0 commit comments

Comments
 (0)