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

Method resolve_table_ref

datafusion/core/src/execution/session_state.rs:331–339  ·  view source on GitHub ↗
(
        &self,
        table_ref: impl Into<TableReference>,
    )

Source from the content-addressed store, hash-verified

329
330impl SessionState {
331 pub(crate) fn resolve_table_ref(
332 &self,
333 table_ref: impl Into<TableReference>,
334 ) -> ResolvedTableReference {
335 let catalog = &self.config_options().catalog;
336 table_ref
337 .into()
338 .resolve(&catalog.default_catalog, &catalog.default_schema)
339 }
340
341 /// Retrieve the [`SchemaProvider`] for a specific [`TableReference`], if it
342 /// exists.

Callers 5

schema_for_refMethod · 0.45
statement_to_planMethod · 0.45
get_table_sourceMethod · 0.45
test_from_existingFunction · 0.45
find_and_deregisterMethod · 0.45

Calls 3

config_optionsMethod · 0.45
resolveMethod · 0.45
intoMethod · 0.45

Tested by 1

test_from_existingFunction · 0.36