diff options
author | Wouter Bolsterlee <uws@xs4all.nl> | 2013-11-03 17:31:50 +0100 |
---|---|---|
committer | Wouter Bolsterlee <uws@xs4all.nl> | 2013-11-03 17:31:50 +0100 |
commit | 119f68dc0a35f64c35d9dda1b4f096579aea7cfd (patch) | |
tree | f2e1270075d96919dfffc04360db3eff32748de1 | |
parent | 4d5390e0b96fbb9d297ef5e7584baa69b32fb136 (diff) | |
download | happybase-119f68dc0a35f64c35d9dda1b4f096579aea7cfd.tar.gz |
Pass batch_size to underlying Thrift Scan instance
Fixes issue #38.
-rw-r--r-- | NEWS.rst | 4 | ||||
-rw-r--r-- | happybase/table.py | 1 |
2 files changed, 5 insertions, 0 deletions
@@ -3,6 +3,7 @@ Version history .. py:currentmodule:: happybase + HappyBase 0.7 ------------- @@ -13,6 +14,9 @@ Release date: *not yet released* the mutation to the Write-Ahead Log (WAL). (`issue #36 <https://github.com/wbolster/happybase/issues/36`_). +* Pass batch_size to underlying Thrift Scan instance (`issue #38 + <https://github.com/wbolster/happybase/issues/38`_). + * Regenerated bundled Thrift API modules using a recent upstream Thrift API definition. This is required to expose newly added API. diff --git a/happybase/table.py b/happybase/table.py index e0795f6..47a9c69 100644 --- a/happybase/table.py +++ b/happybase/table.py @@ -310,6 +310,7 @@ class Table(object): columns=columns, caching=batch_size, filterString=filter, + batchSize=batch_size, ) scan_id = self.connection.client.scannerOpenWithScan( self.name, scan, {}) |