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

ASF GitHub Bot logged work on AVRO-3248:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 07/Nov/21 22:27
            Start Date: 07/Nov/21 22:27
    Worklog Time Spent: 10m 
      Work Description: martin-g opened a new pull request #1393:
URL: https://github.com/apache/avro/pull/1393


   Drop the index map in UnionSchema. It is not common to have many schemata in 
the union. Usually it is either "null"+otherType or just a few of otherType. 
Iterating over a short list is not that slow
   
   ### Jira
   
   - [X] My PR addresses the following 
[AVRO-3248](https://issues.apache.org/jira/browse/AVRO-3248) issue
   
   ### Tests
   
   - [X] My PR adds new unit tests
   
   ### Commits
   
   - [X] My commits all reference Jira issues in their subject lines.
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

            Worklog Id:     (was: 678317)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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
>            Assignee: Martin Tzvetanov Grigorov
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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.20.1#820001)

Reply via email to