Struct databend_common_ast::ast::CopyIntoTableStmt
source · pub struct CopyIntoTableStmt {Show 17 fields
pub with: Option<With>,
pub src: CopyIntoTableSource,
pub dst: TableRef,
pub dst_columns: Option<Vec<Identifier>>,
pub hints: Option<Hint>,
pub file_format: FileFormatOptions,
pub files: Option<Vec<String>>,
pub pattern: Option<String>,
pub force: bool,
pub validation_mode: String,
pub size_limit: usize,
pub max_files: usize,
pub split_size: usize,
pub purge: bool,
pub disable_variant_check: bool,
pub return_failed_only: bool,
pub on_error: String,
}Expand description
CopyIntoTableStmt is the parsed statement of COPY into <table> from <location>.
§Examples
COPY INTO table from s3://bucket/path/to/x.csv
Fields§
§with: Option<With>§src: CopyIntoTableSource§dst: TableRef§dst_columns: Option<Vec<Identifier>>§hints: Option<Hint>§file_format: FileFormatOptions§files: Option<Vec<String>>§pattern: Option<String>§force: bool§validation_mode: StringTODO(xuanwo): parse into validation_mode directly.
size_limit: usize§max_files: usize§split_size: usize§purge: bool§disable_variant_check: bool§return_failed_only: bool§on_error: StringImplementations§
source§impl CopyIntoTableStmt
impl CopyIntoTableStmt
pub fn apply_option(&mut self, opt: CopyIntoTableOption)
Trait Implementations§
source§impl Clone for CopyIntoTableStmt
impl Clone for CopyIntoTableStmt
source§fn clone(&self) -> CopyIntoTableStmt
fn clone(&self) -> CopyIntoTableStmt
Returns a copy 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 CopyIntoTableStmt
impl Debug for CopyIntoTableStmt
source§impl Display for CopyIntoTableStmt
impl Display for CopyIntoTableStmt
source§impl DriveMut for CopyIntoTableStmt
impl DriveMut for CopyIntoTableStmt
fn drive_mut<V: VisitorMut>(&mut self, visitor: &mut V)
source§impl PartialEq for CopyIntoTableStmt
impl PartialEq for CopyIntoTableStmt
impl StructuralPartialEq for CopyIntoTableStmt
Auto Trait Implementations§
impl Freeze for CopyIntoTableStmt
impl RefUnwindSafe for CopyIntoTableStmt
impl Send for CopyIntoTableStmt
impl Sync for CopyIntoTableStmt
impl Unpin for CopyIntoTableStmt
impl UnwindSafe for CopyIntoTableStmt
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more