| 462 | /// Creates an in memory table. |
| 463 | #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Hash)] |
| 464 | pub 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)] |
no outgoing calls
searching dependent graphs…