hangc0276 commented on pull request #12232:
URL: https://github.com/apache/pulsar/pull/12232#issuecomment-930034245
I found a case about the schema without sort field.
If we define the class like:
```Python
class T2(Record):
b = Integer()
a = Integer()
d = String()
c = Double()
```
But the schema fields of T2 without sort is:
```
[{'type': ['null', 'int'], 'name': 'a'}, {'type': ['null', 'double'],
'name': 'c'}, {'type': ['null', 'int'], 'name': 'b'}, {'type': ['null',
'string'], 'name': 'd'}]
```
However we expected order is `b, a, d, c`, but the output order is `a, c, b,
d`
--
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]