congbobo184 commented on issue #5503: [Schema]GenericData$Record cannot be cast 
URL: https://github.com/apache/pulsar/issues/5503#issuecomment-549640720
 
 
   @tuteng define the AvroSchema withJsonDef, it is not null. The logic now is 
to generate the schema defined with withJsonDef first. So, withJsonDef don't 
define the schema with namespace and the name is not foo2, so generate a 
GenericData$Record. I think we can change this logical to withPojo first or  
use one of withJsonDef and withPojo.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to