You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "Ryan Skraba (Jira)" <ji...@apache.org> on 2026/08/05 09:21:00 UTC

[jira] [Resolved] (AVRO-4322) [Java] Fast and classic readers change GenericData behaviour

     [ https://issues.apache.org/jira/browse/AVRO-4322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Skraba resolved AVRO-4322.
-------------------------------
    Fix Version/s: 1.13.0
                   1.12.2
       Resolution: Fixed

> [Java] Fast and classic readers change GenericData behaviour
> ------------------------------------------------------------
>
>                 Key: AVRO-4322
>                 URL: https://issues.apache.org/jira/browse/AVRO-4322
>             Project: Apache Avro
>          Issue Type: Bug
>            Reporter: Ryan Skraba
>            Assignee: Ryan Skraba
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.13.0, 1.12.2
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> In the past, the schema property {{java-class}} has only applied to SpecificData and ReflectData, while GenericData has ignored the property. 
> Today the "classic" path ignores java-class annotations and "fast" path reads data in this format.   
> This is codified in some projects like [Parquet. |https://github.com/apache/parquet-java/blob/82414e2a8aa969ad3cc2e3d9569db9f3fca3cd40/parquet-avro/src/test/java/org/apache/parquet/avro/TestStringBehavior.java#L99]We should either restore this default behaviour as a regression or note it as a breaking change.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)