-
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
Implement multi-row mutations for python Bigtable #2411
Comments
See #1546. |
Thanks, I'm not using happybase but the context manager approach suggested in that bug looks good. |
Good news: @skyfox is currently working on implementing this |
In my current solution, I added mutation class and the new multi rows mutation function as a method of the Table class. Pros:
Cons:
Alternative solution. Same new table method. In a method body - extract rows keys/mutations and build request. Pros:
Cons:
The second way, from my point of view, is closer to the current implementation and would prefer to extended Row class a little. Even with a small overhead for extracting keys from rows. Any cons? |
@tseaver , any thoughts on this? |
Pull request: #3401 |
AFAICT, the merge of #3401 should have closed this issue. |
It would be great if you could add multi-row mutations to the Bigtable python client library. AFAICS it doesn't exist yet.
The RPC API supports it:
https://cloud.google.com/bigtable/docs/reference/data/rpc/google.bigtable.v2#mutaterowsrequest
It just isn't implemented for python. The first use case I ran into is I have a bunch of rows to delete and a want to make a single RPC to do that, but I'm sure there will be more.
The text was updated successfully, but these errors were encountered: