This table contains column-level statistics for a single data file.
| Column name | Column type | |
|---|---|---|
data_file_id |
BIGINT |
|
table_id |
BIGINT |
|
column_id |
BIGINT |
|
column_size_bytes |
BIGINT |
|
value_count |
BIGINT |
|
null_count |
BIGINT |
|
min_value |
VARCHAR |
|
max_value |
VARCHAR |
|
contains_nan |
BOOLEAN |
|
extra_stats |
VARCHAR |
|
min_is_exact |
BOOLEAN |
|
max_is_exact |
BOOLEAN |
data_file_idrefers to adata_file_idfrom theducklake_data_filetable.table_idrefers to atable_idfrom theducklake_tabletable.column_idrefers to acolumn_idfrom theducklake_columntable.column_size_bytesis the byte size of the column.value_countis the number of non-NULLvalues in the column. This does not have to correspond to the number of records in the file for nested types.null_countis the number of values in the column that areNULL.min_valuecontains the minimum value for the column, encoded as a string. This does not have to be exact but has to be a lower bound. The value has to be decoded as the actual type for accurate comparison, e.g., on integer types.max_valuecontains the maximum value for the column, encoded as a string. This does not have to be exact but has to be an upper bound. The value has to be decoded as the actual type for accurate comparison, e.g., on integer types.contains_nanis a flag whether the column contains anyNaNvalues. This is only relevant for floating-point types.extra_statscontains additional type-specific statistics, such as bounding box information for geometry types or shredded-field statistics forvariantcolumns encoded as JSON.min_is_exactindicates whethermin_valueis exact rather than a conservative lower bound.NULLmeans that exactness is unknown.max_is_exactindicates whethermax_valueis exact rather than a conservative upper bound.NULLmeans that exactness is unknown.
The skip_stats_columns option suppresses min/max bounds for selected columns while retaining counts and sizes. Missing bounds cannot be used to exclude a file.
© 2026 DuckDB Foundation, Amsterdam NL