Skip to content

Commit c3d808c

Browse files
committed
remove unused py_err_to_datafusion_err function
1 parent bf91cf8 commit c3d808c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/errors.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,3 @@ pub fn py_unsupported_variant_err(e: impl Debug) -> PyErr {
9595
pub fn to_datafusion_err(e: impl Debug) -> InnerDataFusionError {
9696
InnerDataFusionError::Execution(format!("{e:?}"))
9797
}
98-
99-
/// Convert a PyErr to a DataFusionError
100-
pub fn py_err_to_datafusion_err(err: PyErr) -> InnerDataFusionError {
101-
InnerDataFusionError::Execution(format!("Python error: {}", err))
102-
}

0 commit comments

Comments
 (0)