[ 
https://issues.apache.org/jira/browse/AVRO-3892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17778784#comment-17778784
 ] 

Martin Tzvetanov Grigorov commented on AVRO-3892:
-------------------------------------------------

A PR with a test case(s) always makes it easier to understand what the problem 
is and how to improve it the best way! Thank you!

> [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
>
> 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)

Reply via email to