Skip to content

Commit 87f1af2

Browse files
committed
fix fmt
1 parent 36dc117 commit 87f1af2

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

crates/catalog/glue/tests/glue_catalog_test.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ use std::sync::RwLock;
2424
use ctor::{ctor, dtor};
2525
use iceberg::io::{S3_ACCESS_KEY_ID, S3_ENDPOINT, S3_REGION, S3_SECRET_ACCESS_KEY};
2626
use iceberg::spec::{NestedField, PrimitiveType, Schema, Type};
27+
use iceberg::transaction::{ApplyTransactionAction, Transaction};
2728
use iceberg::{
2829
Catalog, CatalogBuilder, Namespace, NamespaceIdent, Result, TableCreation, TableIdent,
2930
};
@@ -36,7 +37,6 @@ use iceberg_test_utils::{normalize_test_name, set_up};
3637
use port_scanner::scan_port_addr;
3738
use tokio::time::sleep;
3839
use tracing::info;
39-
use iceberg::transaction::{ApplyTransactionAction, Transaction};
4040

4141
const GLUE_CATALOG_PORT: u16 = 5000;
4242
const MINIO_PORT: u16 = 9000;
@@ -432,7 +432,8 @@ async fn test_update_table() -> Result<()> {
432432

433433
// Update table properties using the transaction
434434
let tx = Transaction::new(&table);
435-
let tx = tx.update_table_properties()
435+
let tx = tx
436+
.update_table_properties()
436437
.set("test_property".to_string(), "test_value".to_string())
437438
.apply(tx)?;
438439

@@ -451,10 +452,10 @@ async fn test_update_table() -> Result<()> {
451452
original_metadata_location,
452453
"Metadata location should be updated after commit"
453454
);
454-
455+
455456
// Load the table again from the catalog to verify changes were persisted
456457
let reloaded_table = catalog.load_table(table.identifier()).await?;
457-
458+
458459
// Verify the reloaded table matches the updated table
459460
assert_eq!(
460461
reloaded_table.metadata().properties().get("test_property"),
@@ -465,6 +466,6 @@ async fn test_update_table() -> Result<()> {
465466
updated_table.metadata_location(),
466467
"Reloaded table should have the same metadata location as the updated table"
467468
);
468-
469+
469470
Ok(())
470471
}

0 commit comments

Comments
 (0)