Skip to content

Commit 2b1c3df

Browse files
committed
minor
1 parent 3b4dc9d commit 2b1c3df

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/integrations/datafusion/src/physical_plan/commit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ impl ExecutionPlan for IcebergCommitExec {
196196

197197
// Collect all data files from this partition's stream
198198
for mut batch_stream in batches {
199-
while let Some(batch_result) = batch_stream.as_mut().next().await {
199+
while let Some(batch_result) = batch_stream.next().await {
200200
let batch = batch_result?;
201201

202202
let files_array = batch

crates/integrations/datafusion/src/physical_plan/write.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ use datafusion::physical_plan::{
3737
use futures::StreamExt;
3838
use iceberg::arrow::schema_to_arrow_schema;
3939
use iceberg::spec::{
40-
DataFileFormat, FormatVersion, PROPERTY_DEFAULT_FILE_FORMAT,
40+
DataFileFormat, PROPERTY_DEFAULT_FILE_FORMAT,
4141
PROPERTY_DEFAULT_FILE_FORMAT_DEFAULT, serialize_data_file_to_json,
4242
};
4343
use iceberg::table::Table;

0 commit comments

Comments
 (0)