From 88bc21c1985bd0bf85b08d5efaa2406500eeba09 Mon Sep 17 00:00:00 2001 From: Jeremy Leibs Date: Fri, 30 Aug 2024 03:03:34 -0400 Subject: [PATCH] Add unhandled cases for arrow-to-arrow conversion (#10) This is necessary to compile `re_arrow2` with the `arrow` feature. --- src/datatypes/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/datatypes/mod.rs b/src/datatypes/mod.rs index f2c5e71db4..5a3ac5aaa8 100644 --- a/src/datatypes/mod.rs +++ b/src/datatypes/mod.rs @@ -338,6 +338,10 @@ impl From 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"), } } }