Check for tombstones in wrapping storage adapters (#16791)

This commit is contained in:
Rohan Garg 2024-07-25 06:55:40 -04:00 committed by GitHub
parent 14954c7eb9
commit b5f117bca2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 18 additions and 0 deletions

View File

@ -142,4 +142,10 @@ public class FilteredStorageAdapter implements StorageAdapter
{ {
return baseStorageAdapter.getMetadata(); return baseStorageAdapter.getMetadata();
} }
@Override
public boolean isFromTombstone()
{
return baseStorageAdapter.isFromTombstone();
}
} }

View File

@ -256,6 +256,12 @@ public class UnnestStorageAdapter implements StorageAdapter
return baseAdapter.getMetadata(); return baseAdapter.getMetadata();
} }
@Override
public boolean isFromTombstone()
{
return baseAdapter.isFromTombstone();
}
public VirtualColumn getUnnestColumn() public VirtualColumn getUnnestColumn()
{ {
return unnestColumn; return unnestColumn;

View File

@ -227,6 +227,12 @@ public class HashJoinSegmentStorageAdapter implements StorageAdapter
return clauses.isEmpty() && baseAdapter.canVectorize(baseFilterAnd(filter), virtualColumns, descending); return clauses.isEmpty() && baseAdapter.canVectorize(baseFilterAnd(filter), virtualColumns, descending);
} }
@Override
public boolean isFromTombstone()
{
return baseAdapter.isFromTombstone();
}
@Nullable @Nullable
@Override @Override
public VectorCursor makeVectorCursor( public VectorCursor makeVectorCursor(