You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/11/05 02:52:38 UTC

[GitHub] [pulsar] congbobo184 commented on issue #5503: [Schema]GenericData$Record cannot be cast

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:
users@infra.apache.org


With regards,
Apache Git Services