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

Function get_schema_name

datafusion/sql/src/statement.rs:91–101  ·  view source on GitHub ↗
(schema_name: &SchemaName)

Source from the content-addressed store, hash-verified

89}
90
91fn get_schema_name(schema_name: &SchemaName) -> String {
92 match schema_name {
93 SchemaName::Simple(schema_name) => object_name_to_string(schema_name),
94 SchemaName::UnnamedAuthorization(auth) => ident_to_string(auth),
95 SchemaName::NamedAuthorization(schema_name, auth) => format!(
96 "{}.{}",
97 object_name_to_string(schema_name),
98 ident_to_string(auth)
99 ),
100 }
101}
102
103/// Construct `TableConstraint`(s) for the given columns by iterating over
104/// `columns` and extracting individual inline constraint definitions.

Calls 2

object_name_to_stringFunction · 0.85
ident_to_stringFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…