Skip to content

Commit

Permalink
Update tremor-codec/src/codec/avro.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Heinz N. Gies <[email protected]>
Signed-off-by: Darach Ennis <[email protected]>
  • Loading branch information
darach and Licenser authored Oct 16, 2024
1 parent 4aa1265 commit d4a9b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tremor-codec/src/codec/avro.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ where
Schema::String => AvroValue::String(data.try_as_str()?.to_string()),
Schema::Array(s) => {
array_value_to_avro(
data.as_array().ok_or("Expected an array")?.clone(),
data.try_as_array()?,
s,
resolver,
)
Expand Down

0 comments on commit d4a9b48

Please sign in to comment.