You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Martin Tzvetanov Grigorov (Jira)" <ji...@apache.org> on 2021/11/05 15:03:00 UTC

[jira] [Commented] (AVRO-3248) Rust: Support named types in UnionSchema

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

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

Could you please give an example what exactly is not supported ?

The comment is not very clear to me.

> Rust: Support named types in UnionSchema
> ----------------------------------------
>
>                 Key: AVRO-3248
>                 URL: https://issues.apache.org/jira/browse/AVRO-3248
>             Project: Apache Avro
>          Issue Type: Improvement
>            Reporter: Lu Litao
>            Priority: Major
>
> currently there's no support for named type in avro's Union type in rust.
> as stated in this comment of the UnionSchma struct
> {quote}// Used to ensure uniqueness of schema inputs, and provide constant time finding of the
>  // schema index given a value.
>  // **NOTE** that this approach does not work for named types, and will have to be modified
>  // to support that. A simple solution is to also keep a mapping of the names used.
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)