Description
Currently we write object fields in the order they come from reflection.
1) There is no guarantee that this order is consistent across multiple calls
2) Platforms may have corresponding objects with different field order
=> There are situations when write and read field order is different, which hurts performance.
Sorting fields alphabetically in Java and platforms will ensure the same ordering.
Attachments
Issue Links
- duplicates
-
IGNITE-3191 BinaryObjectBuilder: binary schema id depends on the order of fields addition
- Resolved
- is related to
-
IGNITE-4695 Write primitive fields before during binary object marshalling
- Resolved
- relates to
-
IGNITE-4354 DML: BinaryObjectBuilder does not sort fields in some cases
- Resolved