[
https://issues.apache.org/jira/browse/AVRO-3892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17779168#comment-17779168
]
zejiong dong commented on AVRO-3892:
------------------------------------
Thanks! I have added a PR for this issue.
> [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
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> 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)