summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWouter Bolsterlee <uws@xs4all.nl>2013-11-03 17:31:50 +0100
committerWouter Bolsterlee <uws@xs4all.nl>2013-11-03 17:31:50 +0100
commit119f68dc0a35f64c35d9dda1b4f096579aea7cfd (patch)
treef2e1270075d96919dfffc04360db3eff32748de1
parent4d5390e0b96fbb9d297ef5e7584baa69b32fb136 (diff)
downloadhappybase-119f68dc0a35f64c35d9dda1b4f096579aea7cfd.tar.gz
Pass batch_size to underlying Thrift Scan instance
Fixes issue #38.
-rw-r--r--NEWS.rst4
-rw-r--r--happybase/table.py1
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS.rst b/NEWS.rst
index 227832f..7ea60d6 100644
--- a/NEWS.rst
+++ b/NEWS.rst
@@ -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, {})