(table_schema: &Schema)
| 2106 | } |
| 2107 | |
| 2108 | pub fn table_source(table_schema: &Schema) -> Arc<dyn TableSource> { |
| 2109 | // TODO should we take SchemaRef and avoid cloning? |
| 2110 | let table_schema = Arc::new(table_schema.clone()); |
| 2111 | Arc::new(LogicalTableSource { |
| 2112 | table_schema, |
| 2113 | constraints: Default::default(), |
| 2114 | }) |
| 2115 | } |
| 2116 | |
| 2117 | pub fn table_source_with_constraints( |
| 2118 | table_schema: &Schema, |
searching dependent graphs…