Struct datafusion_expr::logical_plan::CreateExternalTable
source · [−]pub struct CreateExternalTable {
pub schema: DFSchemaRef,
pub name: String,
pub location: String,
pub file_type: FileType,
pub has_header: bool,
pub delimiter: char,
pub table_partition_cols: Vec<String>,
pub if_not_exists: bool,
}
Expand description
Creates an external table.
Fields
schema: DFSchemaRef
The table schema
name: String
The table name
location: String
The physical location
file_type: FileType
The file type of physical file
has_header: bool
Whether the CSV file contains a header
delimiter: char
Delimiter for CSV
table_partition_cols: Vec<String>
Partition Columns
if_not_exists: bool
Option to not error if table already exists
Trait Implementations
sourceimpl Clone for CreateExternalTable
impl Clone for CreateExternalTable
sourcefn clone(&self) -> CreateExternalTable
fn clone(&self) -> CreateExternalTable
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for CreateExternalTable
impl Send for CreateExternalTable
impl Sync for CreateExternalTable
impl Unpin for CreateExternalTable
impl UnwindSafe for CreateExternalTable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more