Open sduskis opened 6 years ago
@sduskis This client just has the same features as https://happybase.readthedocs.io/en/latest/
Support should instead go in google-cloud-bigtable
.
Table.regions() is not implemented in google-cloud-python-happybase (see here for code, and here for docs). Sample Row keys is implemented in google-cloud-bigtable
(see here). Here's how the Java client implements retrieval of regions via the SampleRowKeys
API.
Here's a snippet from the docs:
Some concepts from HBase/Thrift do not map directly to the Cloud Bigtable API. As a result
- Table.regions() could not be implemented since tables in Cloud Bigtable do not expose internal storage details
I believe that this is a happybase specific issue, and not a google-cloud-bigtable
issue. (That said, I don't have access to google-cloud-bigtable
yet, so I referred to google-cloud-python
instead).
Ah, big DERP on my part. Sorry.
The Java client implements Table.regions() using the SampleRowKeys RPC to get the start/stop keys. The happybase client should do so as well.