We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d3af30 commit 8ffc5d7Copy full SHA for 8ffc5d7
src/expr.rs
@@ -315,10 +315,7 @@ impl PyExpr {
315
pub fn cast(&self, to: PyDataType) -> PyExpr {
316
// self.expr.cast_to() requires DFSchema to validate that the cast
317
// is supported, omit that for now
318
- let expr = Expr::Cast(Cast::new(
319
- Box::new(self.expr.clone()),
320
- to.data_type,
321
- ));
+ let expr = Expr::Cast(Cast::new(Box::new(self.expr.clone()), to.data_type));
322
expr.into()
323
}
324
src/lib.rs
@@ -48,7 +48,6 @@ pub mod expr;
48
#[allow(clippy::borrow_deref_ref)]
49
mod functions;
50
pub mod physical_plan;
51
-mod pyarrow_filter_expression;
52
mod record_batch;
53
pub mod sql;
54
pub mod store;
0 commit comments