Skip to content

Update Hbase.thrift and support cache_blocks in Table.scan() - #265

Merged
wbolster merged 2 commits into
python-happybase:masterfrom
aisk:scan-cache-blocks
Sep 28, 2026
Merged

wbolster merged 2 commits into
python-happybase:masterfrom
aisk:scan-cache-blocks

Conversation

@aisk

@aisk aisk commented Sep 26, 2026

Copy link
Copy Markdown
Contributor

Update Hbase.thrift to the latest definition from HBase master, which adds cacheBlocks to TScan, and expose it as a cache_blocks argument of Table.scan() so large scans can skip filling the block cache on the region servers.

Closes #260

@wbolster wbolster left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm mostly; see comments

Comment thread happybase/table.py Outdated
@wbolster
wbolster merged commit 518c886 into python-happybase:master Sep 28, 2026
5 checks passed
@aisk
aisk deleted the scan-cache-blocks branch September 28, 2026 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for 'cacheBlocks' in TScan

2 participants