[ 
https://issues.apache.org/jira/browse/AVRO-3663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17633733#comment-17633733
 ] 

ASF subversion and git services commented on AVRO-3663:
-------------------------------------------------------

Commit 48b9bacf308d6cd98cfb9cdb22e96aaaea324ecd in avro's branch 
refs/heads/avro-3653-arm64-on-github-actions from Neidhart Orlich
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=48b9bacf3 ]

AVRO-3663: [Rust] Allow raw identifiers as field names (#1945)

* avro_derive: Allow raw identifiers as field names

* AVRO-3663: Add the ticket number in the test method name

* AVRO-3663: Print the debug info for the derived schema

* AVRO-3663: Fix formatting

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>

Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Co-authored-by: Martin Grigorov <[email protected]>
Co-authored-by: Martin Tzvetanov Grigorov <[email protected]>

> 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)

Reply via email to