urlyy commented on issue #2160:
URL: https://github.com/apache/fury/issues/2160#issuecomment-2841000734

   Hi @chaokunyang , I'm mapping spec to code, I have read at the `field info 
block` corresponding to the [Meta share#Single layer class 
meta](https://fury.apache.org/docs/specification/fury_java_serialization_spec/#single-layer-class-meta)
   ```
   |  field info: variable bytes   |
   +-------------------------------+
   | header + type id + field name |
   ```
   
   but I don't understand this part:
   
   
![Image](https://github.com/user-attachments/assets/61fda3b0-ff8a-4c86-950f-b8688a3c9e60)
   
   
   
   It seems that there are conditions for writing type id and filed name? And 
after these two, a classId is also written via `fieldType.write`, which doesn't 
seem to be reflected in the spec? what is it for? Or does it reflected in the 
end spec paragraph?
   ```
   Field order are left as implementation details, which is not exposed to 
specification, 
   the deserialization need to resort fields based on Fury field comparator. 
   In this way, fury can compute statistics for field names or types and using 
a more compact encoding.
   ```
   


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to