Skip to content

Commit 8a62eca

Browse files
mlafeldtMaxxen
authored andcommitted
Convert Arrow Float32 to DuckDB FLOAT
1 parent 4f4ebd1 commit 8a62eca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/duckdb/src/types/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ impl From<&DataType> for Type {
117117
DataType::UInt32 => Self::UInt,
118118
DataType::UInt64 => Self::UBigInt,
119119
// DataType::Float16 => Self::Float16,
120-
// DataType::Float32 => Self::Float32,
120+
DataType::Float32 => Self::Float, // Single precision (4 bytes)
121121
DataType::Float64 => Self::Double, // Double precision (8 bytes)
122122
DataType::Timestamp(_, _) => Self::Timestamp,
123123
DataType::Date32 => Self::Date32,

0 commit comments

Comments
 (0)