pub struct ReconcileOptions {
pub allow_widening: bool,
pub refuse_on_dropped_column: bool,
}Expand description
Options controlling how strict the planner is.
Fields§
§allow_widening: boolAllow lossless widening of an existing column (int32→int64→double→string,
float→double→string, …). When false, a required widen is refused so an
operator must opt in explicitly.
refuse_on_dropped_column: boolRefuse when the live table has a column the desired schema no longer
mentions. When false, an extra live column is left untouched (the
additive default — dropping is never automatic regardless).
Trait Implementations§
Source§impl Clone for ReconcileOptions
impl Clone for ReconcileOptions
Source§fn clone(&self) -> ReconcileOptions
fn clone(&self) -> ReconcileOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 ReconcileOptions
impl Debug for ReconcileOptions
Source§impl Default for ReconcileOptions
impl Default for ReconcileOptions
impl Copy for ReconcileOptions
Auto Trait Implementations§
impl Freeze for ReconcileOptions
impl RefUnwindSafe for ReconcileOptions
impl Send for ReconcileOptions
impl Sync for ReconcileOptions
impl Unpin for ReconcileOptions
impl UnwindSafe for ReconcileOptions
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