-
Notifications
You must be signed in to change notification settings - Fork 29
Update scan method to use row set #42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.