Skip to content

Commit 25f36c2

Browse files
committed
fmt
1 parent ad208db commit 25f36c2

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

crates/integrations/datafusion/src/schema.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,10 @@ use futures::StreamExt;
2929
use futures::future::try_join_all;
3030
use iceberg::arrow::arrow_schema_to_schema_auto_assign_ids;
3131
use iceberg::inspect::MetadataTableType;
32-
use iceberg::{Catalog, Error, ErrorKind, NamespaceIdent, Result, TableCreation};
32+
use iceberg::{Catalog, Error, ErrorKind, NamespaceIdent, Result, TableCreation, TableIdent};
3333

3434
use crate::table::IcebergTableProvider;
3535
use crate::to_datafusion_error;
36-
use iceberg::TableIdent;
3736

3837
/// Represents a [`SchemaProvider`] for the Iceberg [`Catalog`], managing
3938
/// access to table providers within a specific namespace.
@@ -245,9 +244,8 @@ impl SchemaProvider for IcebergSchemaProvider {
245244
})
246245
});
247246

248-
futures::executor::block_on(result).map_err(|e| {
249-
DataFusionError::Execution(format!("Failed to drop Iceberg table: {e}"))
250-
})?
247+
futures::executor::block_on(result)
248+
.map_err(|e| DataFusionError::Execution(format!("Failed to drop Iceberg table: {e}")))?
251249
}
252250
}
253251

0 commit comments

Comments
 (0)