Skip to content

Commit 177dee9

Browse files
committed
Need to be explicit for collection of Expr due to change in dataframe API
1 parent 30bd83c commit 177dee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dataframe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ impl PyDataFrame {
304304

305305
#[pyo3(signature = (*args))]
306306
fn select(&self, args: Vec<PyExpr>) -> PyDataFusionResult<Self> {
307-
let expr = args.into_iter().map(|e| e.into()).collect();
307+
let expr: Vec<Expr> = args.into_iter().map(|e| e.into()).collect();
308308
let df = self.df.as_ref().clone().select(expr)?;
309309
Ok(Self::new(df))
310310
}

0 commit comments

Comments
 (0)