pub struct Built {
pub column: usize,
pub rows: u64,
pub distinct: u64,
pub exact: bool,
pub order: Order,
pub summary_bytes: usize,
pub sketch_bytes: usize,
pub stripes: usize,
pub column_bytes: u64,
pub built: bool,
pub sketched: bool,
pub build: Duration,
}Expand description
What one column’s statistics cost and what they say.
Fields§
§column: usizeWhich column was summarized.
rows: u64Rows in the column, nulls included.
distinct: u64Distinct non-null values, as the summary reports them.
exact: boolWhether that distinct count is exact rather than a sketch estimate.
order: OrderWhich way the values run.
summary_bytes: usizeWhat the summary section takes in the file.
sketch_bytes: usizeWhat the sketches section takes in the file.
stripes: usizeHow many per stripe sketches went in it, which is zero for a column the per stripe rule did not promote and is most of them.
column_bytes: u64What the column takes in the file, which is what the budget is a share of.
built: boolWhether the summary was kept. False means it was built, measured, and found to cost more than section 3.8 allows, so the file does not have it and every query plans as though statistics had never been implemented.
sketched: boolWhether the sketches were kept as well, which they are only where the summary was and there was room left after every summary that fit.
build: DurationHow long the build took, the reading of the column included.