Skip to content

Commit 42a58be

Browse files
committed
Fix iceberg PrefixColumnsSourcePage retained size
1 parent 83bf4a9 commit 42a58be

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: plugin/trino-iceberg/src/main/java/io/trino/plugin/iceberg/IcebergPageSourceProvider.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1547,7 +1547,9 @@ public long getSizeInBytes()
15471547
@Override
15481548
public long getRetainedSizeInBytes()
15491549
{
1550-
return sourcePage.getRetainedSizeInBytes();
1550+
return INSTANCE_SIZE +
1551+
sizeOf(channels) +
1552+
sourcePage.getRetainedSizeInBytes();
15511553
}
15521554

15531555
@Override

0 commit comments

Comments
 (0)