This table contains column-level statistics for an entire table.
| Column name | Column type | |
|---|---|---|
table_id |
BIGINT |
|
column_id |
BIGINT |
|
contains_null |
BOOLEAN |
|
contains_nan |
BOOLEAN |
|
min_value |
VARCHAR |
|
max_value |
VARCHAR |
|
extra_stats |
VARCHAR |
table_idrefers to atable_idfrom theducklake_tabletable.column_idrefers to acolumn_idfrom theducklake_columntable.contains_nullis a flag whether the column contains anyNULLvalues.contains_nanis a flag whether the column contains anyNaNvalues. This is only relevant for floating-point types.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 cast to 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 cast to the actual type for accurate comparison, e.g., on integer types.extra_statscontains additional type-specific statistics, such as bounding box information for geometry types or global shredded-field statistics forvariantcolumns encoded as JSON. Variant global stats are populated only for sub-fields that are consistently shredded across every data file; if any file contains inconsistent data for a field, global stats for that field are omitted.