Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
CreateExternalTable in datafusion::sql::parser - Rust
[go: Go Back, main page]

pub struct CreateExternalTable {
    pub name: String,
    pub columns: Vec<ColumnDef>,
    pub file_type: FileType,
    pub has_header: bool,
    pub location: String,
}
Expand description

DataFusion extension DDL for CREATE EXTERNAL TABLE

Fields

name: String

Table name

columns: Vec<ColumnDef>

Optional schema

file_type: FileType

File type (Parquet, NDJSON, CSV)

has_header: bool

CSV Header row?

location: String

Path to file

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.