PFMERGE
Since 1.1.0HyperLogLog
Syntax
PFMERGE destkey [sourcekey [sourcekey ...]]Merges the HyperLogLogs at the source keys into destkey, so that it estimates their union. A missing source is empty.
The sources must be in the same hash space (see hll-write-format). A new destkey takes theirs, or the setting's when there is no source.
Reply
OK.ERR Cannot merge HyperLogLogs with different hash formats.for sources of both hash spaces.
Examples
> PFADD h a b c d
(integer) 1
> PFADD h2 c d e f
(integer) 1
> PFMERGE m h h2
OK
> PFCOUNT m
(integer) 6