jenswaage opened a new pull request, #48645:
URL: https://github.com/apache/spark/pull/48645

   ### What changes were proposed in this pull request?
   Add a note on compatibility issues between the `from_avro` function and the 
Confluent Schema Registry.
   
   ### Why are the changes needed?
   Avro data produced by the Confluent Schema Registry serializer adds extra 
bytes to the serialised data, and the `from_avro` function lacks built-in 
support for this. This can lead to some very confusing errors if one is not 
aware of this technical detail. There is a [thread on 
StackOverflow](https://stackoverflow.com/questions/48882723/integrating-spark-structured-streaming-with-the-confluent-schema-registry)
 that discusses this, but a note in the official docs can be easier to discover 
for users that are looking for help with this issue.
   
   ### Does this PR introduce _any_ user-facing change?
   Yes, it adds a section to the Apache Avro Data Source Guide
   
   ### How was this patch tested?
   Manually by inspecting generated docs
   
   ### Was this patch authored or co-authored using generative AI tooling?
   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]


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

Reply via email to