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

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

                Author: ASF GitHub Bot
            Created on: 17/Apr/22 19:48
            Start Date: 17/Apr/22 19:48
    Worklog Time Spent: 10m 
      Work Description: martin-g commented on PR #1647:
URL: https://github.com/apache/avro/pull/1647#issuecomment-1100939403

   I had different suggestions in the JIRA ticket but Darling/syn does not 
support slices/Vec as attribute value. 
   Darling supports multiple occurrences of the same attribute key though! 




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

    Worklog Id:     (was: 757705)
    Time Spent: 0.5h  (was: 20m)

> Rust: Implement derive aliases via annotation
> ---------------------------------------------
>
>                 Key: AVRO-3492
>                 URL: https://issues.apache.org/jira/browse/AVRO-3492
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: rust
>            Reporter: Martin Tzvetanov Grigorov
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> {color:#222222}Follow up on the Avro derive work. {color}
> {color:#222222}We want to be able to set "aliases" for a 
> Schema::Record.{color}
> E.g. a slice of strings:
> {code:java}
> #[derive(Debug, Serialize, Deserialize, AvroSchema, Clone, PartialEq)]
> #[avro(aliases = ["a", "b", "c"])]
> struct TestBasicWithU32 {
>     a: u32,
> } {code}
> or the less desired comma separated string:
> {code:java}
> #[derive(Debug, Serialize, Deserialize, AvroSchema, Clone, PartialEq)]
> #[avro(aliases = "a, b, c")]
> struct TestBasicWithU32 {
>     a: u32,
> } {code}
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to