giamo 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_r335302626
 
 

 ##########
 File path: 
external/avro/src/main/scala/org/apache/spark/sql/avro/AvroOptions.scala
 ##########
 @@ -40,6 +40,14 @@ class AvroOptions(
    */
   val schema: Option[String] = parameters.get("avroSchema")
 
+  /**
+   * 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.
+   * See https://github.com/apache/spark/pull/24405 for more details.
 
 Review comment:
   ```suggestion
      * See SPARK-27506 for more details.
   ```

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

Reply via email to