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 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.
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.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Built
impl RefUnwindSafe for Built
impl Send for Built
impl Sync for Built
impl Unpin for Built
impl UnsafeUnpin for Built
impl UnwindSafe for Built
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more