Uh oh!
There was an error while loading. Please reload this page.
Spanner: Range read with single key - #4572
Conversation
| snapshot = session.snapshot(read_timestamp=committed, multi_use=True) | ||
| all_data_rows = list(self._row_data(ROW_COUNT)) | ||
| single_key = KeyRange(start_closed=[START], end_open=[START+1]) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
2267fb6 to
6671ac2Compare
dhermes
left a comment
There was a problem hiding this comment.
LGTM other than my nit.
It seems you might want to put the newly added case in a separate method on the unittest.TestCase subclass, but it sort of belongs where you put it, so I don't feel strongly.
| rows = list(snapshot.read( | ||
| self.TABLE, self.COLUMNS, keyset)) | ||
| expected = all_data_rows[START:END+1] | ||
| expected = all_data_rows[START : END+1] |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
No description provided.