[ 
https://issues.apache.org/jira/browse/AVRO-3248?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lu Litao updated AVRO-3248:
---------------------------
    Description: 
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}

  was:
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}


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

Reply via email to