Skip to content

Commit

Permalink
implement f16 check
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Nov 30, 2021
1 parent 9d97916 commit 6180179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arrow/src/array/data.rs
Expand Up @@ -1163,7 +1163,7 @@ fn layout(data_type: &DataType) -> DataTypeLayout {
DataType::UInt16 => DataTypeLayout::new_fixed_width(size_of::<u16>()),
DataType::UInt32 => DataTypeLayout::new_fixed_width(size_of::<u32>()),
DataType::UInt64 => DataTypeLayout::new_fixed_width(size_of::<u64>()),
DataType::Float16 => unimplemented!(),
DataType::Float16 => DataTypeLayout::new_fixed_width(size_of::<f16>()),
DataType::Float32 => DataTypeLayout::new_fixed_width(size_of::<f32>()),
DataType::Float64 => DataTypeLayout::new_fixed_width(size_of::<f64>()),
DataType::Timestamp(_, _) => DataTypeLayout::new_fixed_width(size_of::<i64>()),
Expand Down

0 comments on commit 6180179

Please sign in to comment.