Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
viirya committed Oct 16, 2024
1 parent 1e2c4ed commit 67f86ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions native/Cargo.lock

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

3 changes: 2 additions & 1 deletion native/core/src/execution/datafusion/shuffle_writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ use datafusion::{
};
use datafusion_physical_expr::EquivalenceProperties;
use futures::{lock::Mutex, Stream, StreamExt, TryFutureExt, TryStreamExt};
use futures::executor::block_on;
use itertools::Itertools;
use simd_adler32::Adler32;
use tokio::task;
Expand Down Expand Up @@ -1139,7 +1140,7 @@ async fn external_shuffle(
);

while let Some(batch) = input.next().await {
repartitioner.insert_batch(batch?).await?;
block_on(repartitioner.insert_batch(batch?))?;
}
repartitioner.shuffle_write().await
}
Expand Down

0 comments on commit 67f86ae

Please sign in to comment.