pub struct ColumnStats {
pub null_count: u64,
pub min_i128: Option<i128>,
pub max_i128: Option<i128>,
pub min_f64: Option<f64>,
pub max_f64: Option<f64>,
pub sample_values: Vec<String>,
}Expand description
Per-column diagnostics returned alongside the inferred schema.
Fields§
§null_count: u64§min_i128: Option<i128>Minimum observed integer value for numeric columns (as i128 to cover
anything the widen pass will accept). None for non-numeric columns
or columns that only ever contained floats / NULLs.
max_i128: Option<i128>§min_f64: Option<f64>Minimum / maximum observed floating-point value. Populated for DOUBLE PRECISION columns and integer columns that saw a decimal value.
max_f64: Option<f64>§sample_values: Vec<String>Up to sample_rows raw string values from the beginning of the file.
Trait Implementations§
Source§impl Clone for ColumnStats
impl Clone for ColumnStats
Source§fn clone(&self) -> ColumnStats
fn clone(&self) -> ColumnStats
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ColumnStats
impl Debug for ColumnStats
Source§impl Default for ColumnStats
impl Default for ColumnStats
Source§fn default() -> ColumnStats
fn default() -> ColumnStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ColumnStats
impl RefUnwindSafe for ColumnStats
impl Send for ColumnStats
impl Sync for ColumnStats
impl Unpin for ColumnStats
impl UnsafeUnpin for ColumnStats
impl UnwindSafe for ColumnStats
Blanket Implementations§
impl<T> Allocation for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request