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

   Part of #212.
   
   ## Summary
   
   - implement `Display` for `HllSketch`, `HllUnion`, `CpcSketch`, and 
`CpcUnion`
   - keep the output summary-only, without raw register or coupon details
   - add coverage for empty and populated sketches and update the changelog
   
   Example output:
   
   ```text
   HLL Sketch Summary:
     lg config k       : 12
     target type       : Hll8
     current mode      : List
     lower bound       : 0
     estimate          : 0
     upper bound       : 0
   ```
   
   ```text
   CPC Sketch Summary:
     flavor            : Empty
     lg k              : 11
     merged            : false
     lower bound       : 0
     estimate          : 0
     upper bound       : 0
     num coupons       : 0
   ```
   
   ## Testing
   
   - `cargo x check`
   - `cargo x test`
   - `cargo +nightly clippy --tests --all-features --all-targets --workspace -- 
-D warnings`
   - `cargo +nightly fmt --all --check`
   - `cargo +nightly doc --package datasketches --all-features --no-deps`
   


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