Skip to content

Commit 3932a27

Browse files
committed
Fix build with master
1 parent e2a4fea commit 3932a27

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Storages/ObjectStorage/DataLakes/Iceberg/IcebergMetadata.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -628,9 +628,9 @@ std::optional<size_t> IcebergMetadata::totalRows() const
628628
}
629629

630630
Int64 result = 0;
631-
for (const auto & manifest_list_entry : *(relevant_snapshot->manifest_list_iterator))
631+
for (const auto & manifest_list_entry : *(relevant_snapshot->manifest_list))
632632
{
633-
auto count = manifest_list_entry.manifest_file->getRowsCountInAllDataFilesExcludingDeleted();
633+
auto count = manifest_list_entry->getRowsCountInAllDataFilesExcludingDeleted();
634634
if (!count.has_value())
635635
return {};
636636

@@ -657,9 +657,9 @@ std::optional<size_t> IcebergMetadata::totalBytes() const
657657
return relevant_snapshot->total_bytes;
658658

659659
Int64 result = 0;
660-
for (const auto & manifest_list_entry : *(relevant_snapshot->manifest_list_iterator))
660+
for (const auto & manifest_list_entry : *(relevant_snapshot->manifest_list))
661661
{
662-
auto count = manifest_list_entry.manifest_file->getBytesCountInAllDataFiles();
662+
auto count = manifest_list_entry->getBytesCountInAllDataFiles();
663663
if (!count.has_value())
664664
return {};
665665

0 commit comments

Comments
 (0)