tisonkun opened a new issue, #77:
URL: https://github.com/apache/datasketches-python/issues/77

   The released Python package exposes `datasketches.density_sketch` and 
delegates its `serialize()` and `deserialize()` methods directly to C++. The 
build currently pins DataSketches C++ 5.3.0, which writes family ID `19` for 
both Density and EBPPS. The cross-language discussion assigns ID `23` to 
Density. [Python 
binding](https://github.com/apache/datasketches-python/blob/74efd2db74522701851b050c611fc30046b605e8/src/density_wrapper.cpp#L82-L96)
 · [C++ 
dependency](https://github.com/apache/datasketches-python/blob/74efd2db74522701851b050c611fc30046b605e8/CMakeLists.txt#L116-L122)
 · [TCK 
discussion](https://github.com/apache/datasketches-tck/discussions/23#discussioncomment-19767252)
   
   Once a C++ release includes the format change, please update the dependency 
used to build the Python wheels. A package-level test can check that 
`serialize()[2]` is `23` and that an older Density image saved by Python can be 
read and reserialized with the new ID. The C++ issue tracks legacy decoding for 
existing images. [C++ issue 
#589](https://github.com/apache/datasketches-cpp/issues/589)
   


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