-
Notifications
You must be signed in to change notification settings - Fork 23
Update scan method to use row set #42
Update scan method to use row set #42
Conversation
sumit-ql
commented
Sep 19, 2018
- Updated scan method to use row set
- Updated rows() method to use read_rows() instead of yield_rows().
unit_tests/test_table.py
Outdated
| row_set.add_row_range(RowRange(row_start, row_stop)) | ||
|
|
||
| def mock_get_row_set_object(*args): | ||
| return row_set |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
@sumit-ql the test failure appears to be inaccessible due to the move of this repo from |
|
|
||
| row_set = self._callFUT(start_key, end_key) | ||
| self.assertIsInstance(row_set, RowSet) | ||
|
|
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
src/google/cloud/happybase/table.py
Outdated
| """Return a RowSet object for the given row_start and row_stop | ||
| """ | ||
| row_set = RowSet() | ||
| row_set.add_row_range(RowRange(row_start, row_stop)) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.