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 2020/07/22 09:13:54 UTC

[GitHub] [pulsar] Choqs commented on issue #4874: Not matching schema while using subrecords for Python client

Choqs commented on issue #4874:
URL: https://github.com/apache/pulsar/issues/4874#issuecomment-662340854


   Same issue here, producer send produce the bellow error, while everything seems to be ok:
   
   `exception=ValueError("<micro_service.schema.ProcedureSchema object at 0x7f0e060a8cf8> (type <class 'micro_service.schema.ProcedureSchema'>) do not match ['null', {'type': 'record', 'name': 'ProcedureSchema', 'fields': [{'name': 'procedure_id', 'type': ['null', 'string']}, {'name': 'user_id', 'type': ['null', 'string']}]}]",)>)`
   
   where ProcedureSchema is a sub record. Any idea ?


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