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

Function table_source

datafusion/expr/src/logical_plan/builder.rs:2108–2115  ·  view source on GitHub ↗
(table_schema: &Schema)

Source from the content-addressed store, hash-verified

2106}
2107
2108pub 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
2117pub fn table_source_with_constraints(
2118 table_schema: &Schema,

Callers 6

table_scan_with_filtersFunction · 0.85
plan_builder_schemaFunction · 0.85
plan_builder_empty_nameFunction · 0.85
exists_correlated_unnestFunction · 0.85

Calls 2

newFunction · 0.85
cloneMethod · 0.45

Tested by 4

plan_builder_schemaFunction · 0.68
plan_builder_empty_nameFunction · 0.68
exists_correlated_unnestFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…