tashoyan opened a new pull request #28491:
URL: https://github.com/apache/spark/pull/28491


   ### What changes were proposed in this pull request?
   
   Tests to ensure interoperability with 
[Avro4s](https://github.com/sksamuel/avro4s).
   These tests check, that Avro records generated by Avro4s can be successfully 
deserealized to Spark SQL records.
   
   Avro4s version 2.0.4 is used - the latest version compatible with Avro 1.8 
(used by Spark).
   
   ### Why are the changes needed?
   
   Avro4s is a popular library to make conversions between Avro records and 
Scala case classes.
   I faced the issue with ClassCastException 
https://issues.apache.org/jira/browse/SPARK-30267 when using Avro records 
generated by Avro4s.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   New tests: Avro4sInteroperSuite.
   


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to