Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions format/puffin-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,19 @@ distinct values converted to bytes using Iceberg's single-value serialization.

The blob metadata for this blob may include following properties:

- `ndv`: estimate of number of distinct values, derived from the sketch,
stored as non-negative integer value represented using decimal digits
with no leading or trailing spaces.

#### `apache-datasketches-hll-v1` blob type

A serialized form of a "compact" HyperLogLog (HLL) sketch produced by the [Apache
DataSketches](https://datasketches.apache.org/) library. The sketch is obtained
by constructing an HLL sketch with default seed, and feeding it with individual
distinct values converted to bytes using Iceberg's single-value serialization.

The blob metadata for this blob may include following properties:

- `ndv`: estimate of number of distinct values, derived from the sketch,
stored as non-negative integer value represented using decimal digits
with no leading or trailing spaces.
Expand Down
Loading