MCPcopy Create free account
hub / github.com/apache/datafusion / CreateMemoryTable

Class CreateMemoryTable

datafusion/expr/src/logical_plan/ddl.rs:464–479  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

462/// Creates an in memory table.
463#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Hash)]
464pub struct CreateMemoryTable {
465 /// The table name
466 pub name: TableReference,
467 /// The list of constraints in the schema, such as primary key, unique, etc.
468 pub constraints: Constraints,
469 /// The logical plan
470 pub input: Arc<LogicalPlan>,
471 /// Option to not error if table already exists
472 pub if_not_exists: bool,
473 /// Option to replace table content if table already exists
474 pub or_replace: bool,
475 /// Default values for columns
476 pub column_defaults: Vec<(String, Expr)>,
477 /// Whether the table is `TableType::Temporary`
478 pub temporary: bool,
479}
480
481/// Creates a view.
482#[derive(Debug, Clone, PartialEq, PartialOrd, Eq, Hash)]

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…