gengliangwang opened a new pull request #23699: 
[FollowUp][SPARK-26716][SPARK-26765][SQL] Clean up schema validation methods 
and override toString method in Avro
URL: https://github.com/apache/spark/pull/23699
 
 
   ## What changes were proposed in this pull request?
   
   In #23639, the API `supportDataType` is refactored. We should also remove 
the method `verifyWriteSchema` and `verifyReadSchema` in `DataSourceUtils`.
   
   Since the error message use `FileFormat.toString` to specify the data source 
naming,  this PR also overriding the `toString` method in `AvroFileFormat`.
   
   ## How was this patch tested?
   
   (Please explain how this patch was tested. E.g. unit tests, integration 
tests, manual tests)
   (If this patch involves UI changes, please attach a screenshot; otherwise, 
remove this)
   
   Please review http://spark.apache.org/contributing.html before opening a 
pull request.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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