-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Bigtable Batcher, RowData, Row Operations, AppendRow snippets #7019
Bigtable Batcher, RowData, Row Operations, AppendRow snippets #7019
Conversation
bigtable/docs/snippets_table.py
Outdated
row_key = b'row_key_1' | ||
row = table.row(row_key) | ||
row.set_cell(COLUMN_FAMILY_ID, | ||
COL_NAME1, |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
||
batcher.mutate_rows([row1, row2, row3, row4]) | ||
|
||
# batcher will flush current batch if it |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
bigtable/docs/snippets_table.py
Outdated
# Add a single row | ||
row_key = b'row_key' | ||
row = table.row(row_key) | ||
row.set_cell(COLUMN_FAMILY_ID, COL_NAME1, 'value-0') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should the value be a byte string?
bf2dcbc
to
9fd3576
Compare
This was super awesome, I was just looking for an AppendRow example, can't wait till these examples go live 👍 |
No description provided.