[
https://issues.apache.org/jira/browse/AVRO-3663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Neidhart Orlich updated AVRO-3663:
----------------------------------
Description:
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
was:
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 and I am currently in the process of creating a PR
> 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
> Priority: Major
> Labels: pull-request-available
> Original Estimate: 0.5h
> Time Spent: 10m
> Remaining Estimate: 20m
>
> 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)