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

ASF subversion and git services commented on AVRO-3894:
-------------------------------------------------------

Commit ec4ca5d56e55480dd3970181c20c3a5e6e9f2303 in avro's branch 
refs/heads/dependabot/maven/lang/java/io.netty-netty-bom-4.1.100.Final from 
Martin Grigorov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=ec4ca5d56 ]

AVRO-3894: [Rust] Record field aliases are not taken into account when 
serializing (#2566)

* AVRO-3894: [Rust] Record field aliases are not taken into account when 
serializing

Also don't treat field's aliases as custom attributes.

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

* AVRO-3894: [Rust] Add a unit test for schema_compatibility

Provided-by: Josua Stingelin

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

---------

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

> [Rust] Record field aliases are not taken into account when serializing
> -----------------------------------------------------------------------
>
>                 Key: AVRO-3894
>                 URL: https://issues.apache.org/jira/browse/AVRO-3894
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: rust
>            Reporter: Martin Tzvetanov Grigorov
>            Assignee: Martin Tzvetanov Grigorov
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.12.0, 1.11.4
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Reported at dev@: 
> [https://lists.apache.org/thread/jtx7520hq2bd98ksqsbg2nll94htjf40]
> {code:java}
> Does anyone know if it's possible, to use type aliases with serde 
> serialization?
> When trying to serialize an object using `writer.append_ser` I get the 
> following
> error:
>   called `Result::unwrap()` on an `Err` value: There is no entry for date in 
> the lookup table: {"name": String("Great Meeting"), "time": Union(0, Null)}.
>  {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to