Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
Colin Ho authored and Colin Ho committed Oct 2, 2024
1 parent 61cb9ba commit 0252bbb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/daft-local-execution/src/sources/scan_task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,7 @@ async fn stream_scan_task(
}
#[cfg(feature = "python")]
FileFormatConfig::PythonFunction => {
let iter =
daft_micropartition::python::read_pyfunc_into_table_iter(&scan_task)?;
let iter = daft_micropartition::python::read_pyfunc_into_table_iter(&scan_task)?;
let stream = futures::stream::iter(iter.map(|r| r.map_err(|e| e.into())));
Box::pin(stream) as Pin<Box<dyn Stream<Item = DaftResult<Table>> + Send>>
}
Expand Down

0 comments on commit 0252bbb

Please sign in to comment.