Create Table Like — PUT ddl/database/:db/table/:existingtable/like/:newtable
Table of Contents |
---|
Description
Create a new HCatalog table like an existing one.
...
Name | Description | Required? | Default |
---|---|---|---|
:db | The database name | Required | None |
:existingtable | The existing table name | Required | None |
:newtable | The new table name | Required | None |
group | The user group to use when creating a table | Optional | None |
permissions | The permissions string to use when creating a table | Optional | None |
external | Allows you to specify a location so that Hive does not use the default location for this table. | Optional | false |
ifNotExists | If true, you will not receive an error if the table already exists. | Optional | false |
location | The HDFS path | Optional | None |
The standard parameters are also supported.
Results
...
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Previous: DELETE ddl/database/:db/table/:table General: DDL Resources – WebHCat Reference – WebHCat (Templeton) Manual – HCatalog Manual – Hive Home |