diff --git a/nexus/catalog/src/lib.rs b/nexus/catalog/src/lib.rs index 3e7ec3209f..0d8b7ed6a6 100644 --- a/nexus/catalog/src/lib.rs +++ b/nexus/catalog/src/lib.rs @@ -325,7 +325,7 @@ impl Catalog { ) -> anyhow::Result { let peer_dbtype = self.get_peer_type_for_id(peer_id).await?; - return if !table_identifier.contains('.') && peer_dbtype != DbType::Bigquery { + if !table_identifier.contains('.') && peer_dbtype != DbType::Bigquery { Ok(format!("public.{}", table_identifier)) } else { Ok(String::from(table_identifier))