RyanSkraba opened a new pull request, #3917:
URL: https://github.com/apache/avro/pull/3917

   ## What is the purpose of the change
   
   When the fastread function was set to be the default in Avro 1.12.1, the 
behaviour around create GenericData objects changed.
   
   In the past, the GenericData returned standard and reliable "generic" data 
types that didn't involve casting or reflection, while SpecificData allowed the 
user to create "specific" java classes (including the `SpecificData.CLASS_PROP` 
and `SpecificData.KEY_CLASS_PROP` to control the representation of a STRING 
datum. 
   
   Currently, fastread changed this behaviour to apply those properties to the 
GenericData model, which causes tests to fail in Parquet.  This restores the 
original behaviour.
   
   ## Verifying this change
   
   This change added tests and can be verified by running the 
`TestFastReaderBuilderJavaClassTest`.
   
   ## Documentation
   
   - Does this pull request introduce a new feature? **no**
   - If yes, how is the feature documented?  **no**
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to