CodingAnarchy opened a new pull request, #3007:
URL: https://github.com/apache/avro/pull/3007

   ## What is the purpose of the change
   
   This pull request is intended to improve the logging of value-schema 
mismatch errors when appending data to a `Writer`, so that it specifies which 
value and schema failed validation. This changes the current error: `Value does 
not match schema: Reason: Unsupported value-schema combination` to specify 
`Value {value} does not match schema {schema}`, bringing it in line with other 
error reporting in some of the other structs in the Rust implementation of Avro.
   
   This aims to make it easier to debug the issue underlying AVRO-4014 and 
determine what is causing it.
   
   ## Verifying this change
   
   This change is a trivial rework / code cleanup without any test coverage.
   
   ## Documentation
   
   - Does this pull request introduce a new feature? (yes / no)
   - If yes, how is the feature documented? (not applicable / docs / JavaDocs / 
not documented)
   


-- 
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: dev-unsubscr...@avro.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to