Skip to content

Commit f2242ce

Browse files
committed
Refactor error handling imports in dataframe.rs for improved clarity and consistency
1 parent 4cb5fe5 commit f2242ce

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/dataframe.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,10 @@ use pyo3::exceptions::PyValueError;
4242
use pyo3::prelude::*;
4343
use pyo3::pybacked::PyBackedStr;
4444
use pyo3::types::{PyCapsule, PyList, PyTuple, PyTupleMethods};
45-
use tokio::task::JoinHandle;
4645
use tokio::time::{sleep, Duration};
4746

4847
use crate::catalog::PyTable;
49-
use crate::errors::{py_datafusion_err, PyDataFusionError};
48+
use crate::errors::{py_datafusion_err, to_datafusion_err, PyDataFusionError};
5049
use crate::expr::sort_expr::to_sort_expressions;
5150
use crate::physical_plan::PyExecutionPlan;
5251
use crate::record_batch::PyRecordBatchStream;

0 commit comments

Comments
 (0)