[
https://issues.apache.org/jira/browse/AVRO-2397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17820684#comment-17820684
]
ASF subversion and git services commented on AVRO-2397:
-------------------------------------------------------
Commit a4624984bf699446952b6ab5dbc8e1d90c6bed0f in avro's branch
refs/heads/avro-3946-log-warn-error-for-strange-unions from Morgan Parry
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=a4624984b ]
AVRO-2397: [c++] Add support for type and field aliases (#2270)
* Add support for type and field aliases
* AVRO-2397: Improve code style consistency
---------
Co-authored-by: Martin Grigorov <[email protected]>
> Implement Alias Support for C++
> -------------------------------
>
> Key: AVRO-2397
> URL: https://issues.apache.org/jira/browse/AVRO-2397
> Project: Apache Avro
> Issue Type: Improvement
> Components: c++
> Affects Versions: 1.8.2
> Reporter: Robert Kriener
> Assignee: Martin Tzvetanov Grigorov
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.12.0
>
> Original Estimate: 1h
> Time Spent: 3h 10m
> Remaining Estimate: 0h
>
> Through testing inter operations between JS code and C++ code I found that
> the JS implementation of AVRO supports aliases during schema resolution,
> however the C++ implementation does not.
>
> I implemented this in the C++ library and it seems to work fine. I also
> updated the test cases to test it out, the ONLY thing I did NOT fix is that
> one of the tests reduces the schema to canonical form - which removes the
> aliases, then tries resolution. This case currently fails - as expected.
> I was unsure how the maintainers would prefer to handle that issue so I
> didn't fix that test case.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)