From ccb2f9902df2621e03604858f92384dc68b13a9c Mon Sep 17 00:00:00 2001 From: Michael-J-Ward Date: Wed, 1 May 2024 01:47:07 -0500 Subject: [PATCH] remove deprecated function SessionContext::tables The suggested replacement `Session::catalog` is already included. Ref: https://github.com/apache/datafusion/pull/9627 --- src/context.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/context.rs b/src/context.rs index f1ecaa32..0f407f45 100644 --- a/src/context.rs +++ b/src/context.rs @@ -741,11 +741,6 @@ impl PySessionContext { } } - pub fn tables(&self) -> HashSet { - #[allow(deprecated)] - self.ctx.tables().unwrap() - } - pub fn table(&self, name: &str, py: Python) -> PyResult { let x = wait_for_future(py, self.ctx.table(name)).map_err(DataFusionError::from)?; Ok(PyDataFrame::new(x))