Skip to main content
Merges one or more HLL++ sketches that were previously built using the aggregate function HLL_COUNT_BUILD into a new sketch. Each sketch must be built on the same type and the same precision. Attempts to merge sketches for different types or precisions results in an error. For example, you cannot merge a sketch built from INTEGER data with one built from TEXT data, or a sketch built with precision 13 and a sketch built with precision 14.

Syntax

Parameters

Return Type

BYTEA

Example

Following the example in HLL_COUNT_BUILD: