Description
While working on PR #31490 for SPARK-34365, we discussed that there is room for improvement in how schema mismatch errors are reported (comment1, comment2). We can also consolidate more of the logic between AvroSerializer and AvroDeserializer to avoid some duplication of error handling and consolidate how these error messages are generated.
This will essentially be taking the logic from the initial proposal from PR #31490, but applied separately from the current set of proposed changes to cut down on PR size.
Attachments
Issue Links
- relates to
-
SPARK-34365 Support configurable Avro schema field matching for positional or by-name
- Resolved
- links to