[
https://issues.apache.org/jira/browse/AVRO-3663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Tzvetanov Grigorov resolved AVRO-3663.
---------------------------------------------
Fix Version/s: 1.12.0
1.11.2
Resolution: Fixed
> rust crate apache_avro_derive creates invalid schemas for raw identifiers
> -------------------------------------------------------------------------
>
> Key: AVRO-3663
> URL: https://issues.apache.org/jira/browse/AVRO-3663
> Project: Apache Avro
> Issue Type: Bug
> Components: rust
> Reporter: Neidhart Orlich
> Assignee: Martin Tzvetanov Grigorov
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.12.0, 1.11.2
>
> Original Estimate: 0.5h
> Time Spent: 40m
> Remaining Estimate: 0h
>
> When using a raw identifier as field name, the `r#` prefix is used as field
> name for the resulting schema which results in an invalid AVRO schema.
> Example:
>
>
> {code:java}
> struct TestRawIdent { r#type: bool }{code}
>
>
> I implemented a fix in https://github.com/apache/avro/pull/1945
--
This message was sent by Atlassian Jira
(v8.20.10#820010)