Skip to content

Commit

Permalink
fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangli20 committed Sep 14, 2024
1 parent a0d4b20 commit eca3c6e
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 15 deletions.
49 changes: 36 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions native-engine/datafusion-ext-plans/src/orc_exec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,10 @@ impl ExecutionPlan for OrcExec {
"OrcScan",
stream.schema(),
move |sender| async move {
let mut timer = baseline_metrics_cloned.elapsed_compute().timer();
sender.exclude_time(baseline_metrics_cloned.elapsed_compute());
let _timer = baseline_metrics_cloned.elapsed_compute().timer();
while let Some(batch) = stream.next().await.transpose()? {
sender.send(Ok(batch), Some(&mut timer)).await;
sender.send(Ok(batch)).await;
}
Ok(())
},
Expand Down

0 comments on commit eca3c6e

Please sign in to comment.