tisonkun opened a new pull request, #392:
URL: https://github.com/apache/datasketches-rust/pull/392

   Density and EBPPS both used family ID `19`, so consumers could not identify 
the sketch from the family byte. This change makes Rust Density writers emit 
`23` (`0x17`) and readers require that ID. Density first appeared after the 
0.7.0 release, so Rust can adopt the new ID before publishing the feature. 
[Cross-language 
discussion](https://github.com/apache/datasketches-tck/discussions/23#discussioncomment-19767252)
   
   The serialization tests now check the emitted family byte and reject a 
Density image carrying `19`. This removes the embedded C++ ID-`19` snapshots. 
Rust-generated snapshots cover round trips, truncation, and malformed inputs, 
and a dedicated case covers compacted images with a trailing empty level. 
Interchange with C++ and Python requires versions that support `23`. [C++ 
tracking issue](https://github.com/apache/datasketches-cpp/issues/589) ยท 
[Python tracking issue](https://github.com/apache/datasketches-python/issues/77)
   
   Verified with `cargo x prepare-testdata`, `cargo x check`, `cargo x test`, 
and `cargo x lint`.
   


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