It's true, but I don't see what we could or should do about it. The algorithm we use is noncommutative by design. One specifically noncommutative feature is the offset / 'floating max' system, which isn't part of standard HLL but is part of Druid's implementation. Although, either way, you will still get results within a predictable accuracy.
I am not sure if the alternative HLL algorithm in #5712 is commutative or not, but maybe you could try that out too. [ Full content available at: https://github.com/apache/incubator-druid/issues/6412 ] This message was relayed via gitbox.apache.org for [email protected]
