Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Delete Table — DELETE ddl/database/:db/table/:table

Table of Contents

Description

Delete (drop) an HCatalog table.

URL

http://www.myserver.com/templeton/v1/ddl/database/:db/table/:table

Parameters

Name

Description

Required?

Default

:db

The database name

Required

None

:table

The table name

Required

None

ifExists

Hive 0.70 and later returns an error if the table specified does not exist, unless ifExists is set to true.

Optional

false

group

The user group to use

Optional

None

permissions

The permissions string to use. The format is "rwxrw-r-x".

Optional

None

The standard parameters are also supported.

Results

Name

Description

table

The table name

database

The database name

Example

Curl Command

No Format
% curl -s -X DELETE 'http://localhost:50111/templeton/v1/ddl/database/default/table/test_table?user.name=ctdean'

JSON Output

No Format
{
 "table": "test_table",
 "database": "default"
}


Panel
titleColorindigo
titleBGColorsilver
titleNavigation Links

Previous: POST ddl/database/:db/table/:table
Next: PUT ddl/database/:db/table/:existingtable/like/:newtable

General: DDL ResourcesWebHCat ReferenceWebHCat ManualHCatalog ManualHive Wiki HomeHive Project Site
Old version of this document (HCatalog 0.5.0): DELETE ddl/database/:db/table/:table