RobertIndie opened a new pull request, #159: URL: https://github.com/apache/pulsar-client-python/pull/159
## Motivation The client is not correctly following [Avro's type promotion rules](https://avro.apache.org/docs/1.11.1/specification/#schema-resolution), leading to a potential problem with data serialization and deserialization. The expected behavior is that the Python client should correctly follow Avro's type promotion rules and perform type conversion when necessary, ensuring compatibility. But the actual behavior is that the Python client's JSONSchema deserialization is too strict, and type promotion is not happening as expected. ## Modification - Support schema field type promotion when validating the python type - Convert the field value to the desired compatible python type -- 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]
