leerho commented on PR #21:
URL: https://github.com/apache/datasketches-tck/pull/21#issuecomment-6834464562

   Thanks, applied in f222e90. Section 4.4 now says "An update does nothing, 
and every query (estimate, lower bound, and upper bound) returns 0."
   
   Agreed on the reasoning. An ignored item can never have been counted, so 0 
is the exact answer for all three queries. Once the sketch is non-empty, an 
upper bound that adds `relativeError * totalWeight` for an empty item would go 
unnoticed on an empty test sketch. Java already returns 0 for all three, and 
#798 in datasketches-java now ignores `(byte[]) null` instead of throwing. The 
table is very useful for the Go, C++ and Rust follow-ups.


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