gianm commented on issue #6865: Densify swapped hll buffer
URL: https://github.com/apache/incubator-druid/pull/6865#issuecomment-461693658
 
 
   @drcrallen I’m trying to understand what the bug was. Is it that the old 
folding code assumed that a sketch with an overflow register set would always 
be dense? And your change is patching it to densify the buffer if it turned out 
to be sparse?
   
   If so then the general idea looks good to me. It sounds like it’s fixing an 
implementation bug that isn’t likely to get triggered by a properly injected 
flow of data, but is still an implementation bug nonetheless.
   
   It also sounds like the zero estimate @leerho noted might be pointing to a 
different bug of some sort, not related to the one this patch is fixing? You 
wouldn’t expect to get a zero estimate when there are nonzero registers, right?
   
   Separately, a side note. Discussion of flaws in the design and 
implementation of existing Druid features is very useful and appreciated. But 
when choosing words, I’d ask to please be civil and considerate of the fact 
that in many cases, the original designers and implementers are still around 
and part of the community.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to