You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/12/30 08:16:08 UTC
[GitHub] [spark] gengliangwang commented on a change in pull request #27045:
[SPARK-27506][SQL][FOLLOWUP] Use option `avroSchema` to specify an evolved
schema in `from_avro`
gengliangwang commented on a change in pull request #27045: [SPARK-27506][SQL][FOLLOWUP] Use option `avroSchema` to specify an evolved schema in `from_avro`
URL: https://github.com/apache/spark/pull/27045#discussion_r361922716
##########
File path: external/avro/src/main/scala/org/apache/spark/sql/avro/AvroOptions.scala
##########
@@ -36,18 +36,14 @@ class AvroOptions(
}
/**
- * Optional schema provided by an user in JSON format.
+ * Optional schema provided by an user in JSON format. This option can be set when
+ * 1. for reading Avro, the expected schema for deserialization is compatible with
Review comment:
Yes. I was trying to explain the actual usage.
The doc is revised in my latest commit.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org