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 different statistics from specific types such as geometry types.