Skip to content

Commit

Permalink
remove deprecated function SessionContext::tables
Browse files Browse the repository at this point in the history
The suggested replacement `Session::catalog` is already included.

Ref: apache/datafusion#9627
  • Loading branch information
Michael-J-Ward committed May 1, 2024
1 parent 79f01e7 commit ccb2f99
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -741,11 +741,6 @@ impl PySessionContext {
}
}

pub fn tables(&self) -> HashSet<String> {
#[allow(deprecated)]
self.ctx.tables().unwrap()
}

pub fn table(&self, name: &str, py: Python) -> PyResult<PyDataFrame> {
let x = wait_for_future(py, self.ctx.table(name)).map_err(DataFusionError::from)?;
Ok(PyDataFrame::new(x))
Expand Down

0 comments on commit ccb2f99

Please sign in to comment.