Fokko commented on a change in pull request #24405: [SPARK-27506][SQL] Allow
deserialization of Avro data using compatible schemas
URL: https://github.com/apache/spark/pull/24405#discussion_r335344093
##########
File path: docs/sql-data-sources-avro.md
##########
@@ -240,6 +240,14 @@ Data source options of Avro can be set via:
</td>
<td>function <code>from_avro</code></td>
</tr>
+ <tr>
+ <td><code>writerSchema</code></td>
+ <td>None</td>
+ <td>Optional Avro schema (in JSON format) that was used to serialize the
data. This should be set if the schema provided
+ for deserialization is compatible with - but not the same as - the one
used to originally convert the data to Avro.
+ </td>
Review comment:
Would it be possible to link to the Confluent documentation? They have an
excellent document on schema compatibility and evolution:
https://docs.confluent.io/current/schema-registry/avro.html
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]