Skip to content

Commit

Permalink
fix type for array builder on Float32
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonrnewhouse committed Aug 1, 2023
1 parent 578c113 commit dd1803c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arroyo-sql/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ 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 dd1803c

Please sign in to comment.