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

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

Commit 2f441fd1a5e4c64c77e83da2c1fef11312bf5097 in avro's branch 
refs/heads/branch-1.11 from Martin Grigorov
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=2f441fd1a ]

AVRO-3518: Introduce a new type 'Alias' (#1686)

It uses Newtype pattern and wraps Name. This way it is easier to control
how it is being (de)serialized

Until now only Schema::Record serialized its aliases to JSON. Now this
is being done for all named schemata (Schema::Enum and Schema::Fixed)

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
(cherry picked from commit 0c769f94515cc13ae2130a818bf566cb09f27774)


> Rust: Represent aliases as Name instead of String
> -------------------------------------------------
>
>                 Key: AVRO-3518
>                 URL: https://issues.apache.org/jira/browse/AVRO-3518
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: rust
>            Reporter: Martin Tzvetanov Grigorov
>            Assignee: Martin Tzvetanov Grigorov
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Currently Aliases is an Option<Vec<String>>.
> Since an alias could have a namespace it would be better to use 
> apache_avro::schema::Name for it instead of String.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to