[
https://issues.apache.org/jira/browse/AVRO-3892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Tzvetanov Grigorov resolved AVRO-3892.
---------------------------------------------
Fix Version/s: 1.12.0
1.11.4
Assignee: zejiong dong
Resolution: Fixed
> [Rust] support to convert bytes to fixed in resolve_fixed
> ---------------------------------------------------------
>
> Key: AVRO-3892
> URL: https://issues.apache.org/jira/browse/AVRO-3892
> Project: Apache Avro
> Issue Type: Improvement
> Components: rust
> Reporter: zejiong dong
> Assignee: zejiong dong
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.12.0, 1.11.4
>
> Time Spent: 1h 20m
> Remaining Estimate: 0h
>
> I'm working on iceberg-rs and converting value of iceberg between value of
> Avro using
> ```
> let avro_value =
> to_value(iceberg_value).unwrap().resolve(&avro_schema).unwrap();
> ```
> But I can't convert any byte-like type(binary or fixed) in Iceberg to fixed
> type in Avro. Any byte-like byte will convert to avro byte using
> serialize_bytes first and use convert to dedicated type using resolve. But
> [resolved_fixed |#L910]can't convert bytes to fixed. So can we consider
> supporting converting bytes to fixed in resolve_fixed? I'm glad to send a PR
> if it sounds ok.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)