shared_trailing_fields

Function shared_trailing_fields 

Source
pub(super) fn shared_trailing_fields() -> Vec<Field>
Expand description

The trailing per-mesh columns both transports carry, in order.

A FUNCTION both schemas call, not a list a test compares them against. mesh_schema() and the inline instance schema in parquet_optimized.rs were kept in step by hand and that does not hold: benches/serialization.rs is a third copy and has already drifted, missing origin_x/y/z and geometry_class long before #3215. Adding a column to one and not the other compiles and leaves every test green – the TS decoder resolves by name, so the transport that lost it just omits it forever.

Sharing the constructor removes the drift rather than detecting it. The LEADING columns still differ legitimately (express_id vs entity_id), so only this tail is shared.