in src/expr/table_scan.rs [76:93]
fn fqn(&self) -> PyResult<(Option<String>, Option<String>, String)> {
let table_ref: TableReference = self.table_scan.table_name.clone();
Ok(match table_ref {
TableReference::Bare { table } => (None, None, table.to_string()),
TableReference::Partial { schema, table } => {
(None, Some(schema.to_string()), table.to_string())
}
TableReference::Full {
catalog,
schema,
table,
} => (
Some(catalog.to_string()),
Some(schema.to_string()),
table.to_string(),
),
})
}