gengliangwang 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_r353602763
##########
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>
Review comment:
I come up with this because in the implementation it also uses the name
`actual`:
https://github.com/rdblue/avro-java/blob/master/avro/src/main/java/org/apache/avro/generic/GenericDatumReader.java#L67
But I am OK with `writerSchema` as well since it is the name in the
constructor method.
----------------------------------------------------------------
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]