Skip to content

Commit

Permalink
fix type for array builder on Float32 (#226)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonrnewhouse committed Aug 1, 2023
1 parent 578c113 commit 9a4c2f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arroyo-sql/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,9 @@ impl StructField {
quote!(arrow_array::builder::PrimitiveBuilder::<arrow_array::types::Int16Type>)
}
DataType::Float32 => {
quote!(arrow_array::builder::PrimitiveBuilder::<arrow_array::types::Int32Type>)
quote!(
arrow_array::builder::PrimitiveBuilder::<arrow_array::types::Float32Type>
)
}
DataType::Float64 => {
quote!(arrow_array::builder::PrimitiveBuilder::<arrow_array::types::Int64Type>)
Expand Down

0 comments on commit 9a4c2f5

Please sign in to comment.