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

   ## What is the purpose of the change
   
   If an UnknownSchemaError is raised for a nested type that should inherit its 
parent namespace, the default_namespace information is lost when rescuing this 
exception.
   This prevents users of the library to use the raised exception to load the 
missing schema that may be defined in a separate file fore readability when 
handling large schema files.
   
   ## Verifying this change
   
   This is a simple addition of information when raising an exception on 
encountering an unknown schema reference. The existing unit test has been 
updated to make sure the correct information is added to the exception.
   
   ## Documentation
   
   - Does this pull request introduce a new feature?: YES
   - Documentation for the raised exception seems to be missing from the 
project. I did not create it to mention the addition I made in it.
   


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

Reply via email to