Skip to content

Commit 37b53aa

Browse files
committed
Extend test
1 parent 5214de5 commit 37b53aa

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

pyiceberg/manifest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,6 @@ def add(self, entry: ManifestEntry) -> ManifestWriter:
10921092
status=ManifestEntryStatus.ADDED,
10931093
snapshot_id=self._snapshot_id,
10941094
sequence_number=entry.sequence_number if entry.file_sequence_number != UNASSIGNED_SEQ else None,
1095-
file_sequence_number=entry.file_sequence_number if entry.file_sequence_number != UNASSIGNED_SEQ else None,
10961095
data_file=entry.data_file,
10971096
)
10981097
)

tests/catalog/test_sql.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1657,6 +1657,8 @@ def test_merge_manifests_local_file_system(catalog: SqlCatalog, arrow_table_with
16571657
tbl.append(arrow_table_with_null)
16581658

16591659
assert len(tbl.scan().to_arrow()) == 5 * len(arrow_table_with_null)
1660+
manifests = tbl.current_snapshot().manifests(tbl.io)
1661+
assert len(manifests) == 1
16601662

16611663

16621664
@pytest.mark.parametrize(

0 commit comments

Comments
 (0)