Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
HonahX committed Mar 5, 2024
1 parent 8eace7c commit 64e6346
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/catalog/integration_test_glue.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,9 @@ def test_create_table_transaction(
identifier = (database_name, table_name)
test_catalog.create_namespace(database_name)

with test_catalog.create_table_transaction(identifier, table_schema_nested, get_s3_path(get_bucket_name(), database_name, table_name)) as txn:
with test_catalog.create_table_transaction(
identifier, table_schema_nested, get_s3_path(get_bucket_name(), database_name, table_name)
) as txn:
df = pa.Table.from_pylist(
[
{
Expand All @@ -508,8 +510,8 @@ def test_create_table_transaction(

with txn.update_snapshot().fast_append() as update_snapshot:
data_files = _dataframe_to_data_files(
table_metadata=txn.table_metadata, write_uuid=update_snapshot.commit_uuid, df=df, io=txn._table.io
)
table_metadata=txn.table_metadata, write_uuid=update_snapshot.commit_uuid, df=df, io=txn._table.io
)
for data_file in data_files:
update_snapshot.append_data_file(data_file)

Expand Down Expand Up @@ -542,4 +544,4 @@ def test_create_table_transaction(
{"VarCharValue": "{name=some_name, age=23}"},
]
},
]
]

0 comments on commit 64e6346

Please sign in to comment.