Google cloud bigtable HappyBase Table.cells不返回任何结果
下面是我的代码Google cloud bigtable HappyBase Table.cells不返回任何结果,google-cloud-bigtable,google-cloud-python,Google Cloud Bigtable,Google Cloud Python,下面是我的代码 # Create a Cloud Bigtable client. client = bigtable.Client(project=config.GCP_PROJECT_ID) # Connect to an existing Cloud Bigtable instance. instance = client.instance(config.BIGTABLE_INSTANCE_ID) # Open an existing table. connection = Conne
# Create a Cloud Bigtable client.
client = bigtable.Client(project=config.GCP_PROJECT_ID)
# Connect to an existing Cloud Bigtable instance.
instance = client.instance(config.BIGTABLE_INSTANCE_ID)
# Open an existing table.
connection = Connection(instance=instance)
table = Table(name=config.BIGTABLE_TABLE_ID, connection=connection)
row_data = table.cells(row=row_key, column=column_family_id, include_timestamp=True)
print("test")
“测试”从未打印过。table.cells不返回任何结果。有人知道为什么吗?通过HappyBase API提供了一个示例,这可能会有所帮助
我建议您检查是否有,以及是否能够成功获取实例和表