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 2021/09/29 04:06:34 UTC

[GitHub] [pulsar] gaoran10 commented on a change in pull request #12232: [Python] Do not sort schema fields by default

gaoran10 commented on a change in pull request #12232:
URL: https://github.com/apache/pulsar/pull/12232#discussion_r718136171



##########
File path: pulsar-client-cpp/python/pulsar/schema/definition.py
##########
@@ -60,6 +60,9 @@ class Record(with_metaclass(RecordMeta, object)):
     # This field is used to set namespace for Avro Record schema.
     _avro_namespace = None
 
+    # Generate a schema where fields are sorted alphabetically
+    _sorted_fields = False

Review comment:
       Do we need to set this value to `True` to avoid compatibility problems?




-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org