gatorsmile commented on a change in pull request #24787: [MINOR] [DOC] Avro 
data source documentation change
URL: https://github.com/apache/spark/pull/24787#discussion_r290126019
 
 

 ##########
 File path: docs/sql-data-sources-avro.md
 ##########
 @@ -199,7 +199,7 @@ Data source options of Avro can be set via:
     <td><code>avroSchema</code></td>
     <td>None</td>
     <td>Optional Avro schema provided by a user in JSON format. The date type 
and naming of record fields
-    should match the input Avro data or Catalyst data, otherwise the 
read/write action will fail.</td>
+    should match the input Avro data or Spark's internal data type (e.g., 
StringType, IntegerType)., otherwise the read/write action will fail.</td>
 
 Review comment:
   > should match the input Avro data when reading from Avro source or should 
match the Spark's internal data type (e.g., StringType, IntegerType) when 
writing to Avro target; otherwise the read/write action will fail.
   
   How about this?

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