From 618017913a560be45b87ed6151936d0cd458fc22 Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Tue, 30 Nov 2021 20:55:41 +0000 Subject: [PATCH] implement f16 check --- arrow/src/array/data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arrow/src/array/data.rs b/arrow/src/array/data.rs index 32067405265..f8a1bed975f 100644 --- a/arrow/src/array/data.rs +++ b/arrow/src/array/data.rs @@ -1163,7 +1163,7 @@ fn layout(data_type: &DataType) -> DataTypeLayout { DataType::UInt16 => DataTypeLayout::new_fixed_width(size_of::()), DataType::UInt32 => DataTypeLayout::new_fixed_width(size_of::()), DataType::UInt64 => DataTypeLayout::new_fixed_width(size_of::()), - DataType::Float16 => unimplemented!(), + DataType::Float16 => DataTypeLayout::new_fixed_width(size_of::()), DataType::Float32 => DataTypeLayout::new_fixed_width(size_of::()), DataType::Float64 => DataTypeLayout::new_fixed_width(size_of::()), DataType::Timestamp(_, _) => DataTypeLayout::new_fixed_width(size_of::()),