0

I'm trying to rename a table in Google's Bigtable but can't find anything on how to do it.

However, renaming a table in HBase can be done via snapshots, but it is not available in Bigtable.

How can this be achieved?

Misha Brukman
  • 12,938
  • 4
  • 61
  • 78
Pankaj Singhal
  • 15,283
  • 9
  • 47
  • 86

2 Answers2

2

There is no way to rename a table in Cloud Bigtable as of yet. It does not have a rename method, nor does it have a Snapshot API. You would have to copy over the data into a new table using Dataflow.

Solomon Duskis
  • 2,691
  • 16
  • 12
1

You cannot rename a table in Cloud Bigtable. However, there's a quite convenient method to workaround this limitation:

  • Create a backup of the old table
  • Restore the backup to the new table
  • Delete the old table
gnvk
  • 1,494
  • 12
  • 14