如何从 google bigtable 中删除特定的列族数据
How to delete particular column family data from google bigtable
嗨,我最近开始探索 Google 大 table 功能。
如果我想删除与 table 的特定行键对应的特定列族数据,那么我该如何实现。
使用这个命令我可以获取所有记录
cbt -project my-project -instance my-instance lookup my-table rowkey
请推荐。
要删除特定列和行的数据,可以使用cbt deletecolumn
命令
cbt deletecolumn <table-id> <row-key> <family> <column>
示例:
cbt deletecolumn mobile-time-series phone#4c410523#20190501 stats_summary os_name
cbt reference guide 中有更多示例命令。
嗨,我最近开始探索 Google 大 table 功能。
如果我想删除与 table 的特定行键对应的特定列族数据,那么我该如何实现。
使用这个命令我可以获取所有记录
cbt -project my-project -instance my-instance lookup my-table rowkey
请推荐。
要删除特定列和行的数据,可以使用cbt deletecolumn
命令
cbt deletecolumn <table-id> <row-key> <family> <column>
示例:
cbt deletecolumn mobile-time-series phone#4c410523#20190501 stats_summary os_name
cbt reference guide 中有更多示例命令。