gengliangwang edited a comment on pull request #33308:
URL: https://github.com/apache/spark/pull/33308#issuecomment-882631956


   @xkrogen I am sorry for the late reply. I think my major concern is the code 
becomes more complicated. I think it can be better by either:
   * Simply adding new functions which go over the schema and validate the 
schema without storing `fieldPairs`. 
   
   Or
   * Create `AvroMatchedField` to make the function getMatchedFields readable.


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to