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 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 sections were kept. False means they were built, measured, and found to cost more than section 3.8 allows, so the file does not have them and every query plans as though statistics had never been implemented.
build: DurationHow long the build took, the reading of the column included.