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

Method get_table_source

datafusion/core/src/execution/session_state.rs:1953–1962  ·  view source on GitHub ↗
(
        &self,
        name: TableReference,
    )

Source from the content-addressed store, hash-verified

1951 }
1952
1953 fn get_table_source(
1954 &self,
1955 name: TableReference,
1956 ) -> datafusion_common::Result<Arc<dyn TableSource>> {
1957 let name = self.state.resolve_table_ref(name);
1958 self.tables
1959 .get(&name)
1960 .cloned()
1961 .ok_or_else(|| plan_datafusion_err!("table '{name}' not found"))
1962 }
1963
1964 fn get_table_function_source(
1965 &self,

Callers

nothing calls this directly

Calls 6

resolve_table_refMethod · 0.45
clonedMethod · 0.45
getMethod · 0.45
intoMethod · 0.45
to_stringMethod · 0.45
tableMethod · 0.45

Tested by

no test coverage detected