Rename Table

Hippo supports renaming the table.

curl -u shiva:shiva -XPUT 'localhost:8902/hippo/v1/_rename_table?pretty' -H 'Content-Type: application/json' -d'{
  "database_name" : "book",
  "table_name" : "book",
  "new_table_name" : "new_book"
}';

Result:

{
  "acknowledged" : true
}

Parameter description:

ParametersDescriptionRequired
table_nameTable to be renamedYes
new_table_nameNew table nameYes
database_nameThe database where the table is locatedNo, defaults to "default" database
Table 2 Rename Table (Restful API)