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

Method schema

datafusion-cli/src/catalog.rs:93–98  ·  view source on GitHub ↗
(&self, name: &str)

Source from the content-addressed store, hash-verified

91 }
92
93 fn schema(&self, name: &str) -> Option<Arc<dyn SchemaProvider>> {
94 let state = self.state.clone();
95 self.inner.schema(name).map(|schema| {
96 Arc::new(DynamicObjectStoreSchemaProvider::new(schema, state)) as _
97 })
98 }
99
100 fn register_schema(
101 &self,

Callers 6

executeMethod · 0.45
setup_contextFunction · 0.45
executeMethod · 0.45
print_streamMethod · 0.45

Calls 3

newFunction · 0.85
cloneMethod · 0.45
mapMethod · 0.45

Tested by 2