[
https://issues.apache.org/jira/browse/AVRO-3492?focusedWorklogId=758096&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-758096
]
ASF GitHub Bot logged work on AVRO-3492:
----------------------------------------
Author: ASF GitHub Bot
Created on: 18/Apr/22 19:58
Start Date: 18/Apr/22 19:58
Worklog Time Spent: 10m
Work Description: martin-g opened a new pull request, #1649:
URL: https://github.com/apache/avro/pull/1649
### Jira
- [X] My PR addresses the following [Avro
Jira](https://issues.apache.org/jira/browse/AVRO/) issues and references them
in the PR title. For example, "AVRO-1234: My Avro PR"
- https://issues.apache.org/jira/browse/AVRO-3492
### Tests
- [X] My PR adds new unit tests
### Commits
- [X] My commits all reference Jira issues in their subject lines. In
addition, my commits follow the guidelines from "[How to write a good git
commit message](https://chris.beams.io/posts/git-commit/)":
1. Subject is separated from body by a blank line
1. Subject is limited to 50 characters (not including Jira issue reference)
1. Subject does not end with a period
1. Subject uses the imperative mood ("add", not "adding")
1. Body wraps at 72 characters
1. Body explains "what" and "why", not "how"
### Documentation
- [ ] TODO
Issue Time Tracking
-------------------
Worklog Id: (was: 758096)
Time Spent: 1h 20m (was: 1h 10m)
> 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
> Assignee: Martin Tzvetanov Grigorov
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.11.1, 1.12.0
>
> Time Spent: 1h 20m
> 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)