Skip to content

Commit

Permalink
update Catalog::table
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-J-Ward committed May 1, 2024
1 parent a0036c3 commit 8c4c4bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/catalog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ impl PyDatabase {
}

fn table(&self, name: &str, py: Python) -> PyResult<PyTable> {
if let Some(table) = wait_for_future(py, self.database.table(name)) {
if let Some(table) = wait_for_future(py, self.database.table(name))? {
Ok(PyTable::new(table))
} else {
Err(DataFusionError::Common(format!("Table not found: {name}")).into())
Expand Down

0 comments on commit 8c4c4bf

Please sign in to comment.