Apache Hive : WebHCat Reference GetProperties

List Properties — GET ddl/database/:db/table/:table/property

Description

List all the properties of an HCatalog table.

URL

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

Parameters

Name Description Required? Default
:db The database name Required None
:table The table name Required None

The standard parameters are also supported.

Results

Name Description
properties A list of the table’s properties in name: value pairs
database The database name
table The table name

Example

Curl Command

% curl -s 'http://localhost:50111/templeton/v1/ddl/database/default/table/test\_table/property?user.name=ctdean'

JSON Output

{
 "properties": {
   "fruit": "apple",
   "last\_modified\_by": "ctdean",
   "hcat.osd": "org.apache.hcatalog.rcfile.RCFileOutputDriver",
   "color": "blue",
   "last\_modified\_time": "1331620706",
   "hcat.isd": "org.apache.hcatalog.rcfile.RCFileInputDriver",
   "transient\_lastDdlTime": "1331620706",
   "comment": "Best table made today",
   "country": "Albania"
 },
 "table": "test\_table",
 "database": "default"
}

Navigation Links Previous: PUT ddl/database/:db/table/:table/column/:column Next: GET ddl/database/:db/table/:table/property/:property

General: DDL ResourcesWebHCat ReferenceWebHCat ManualHCatalog ManualHive Wiki HomeHive Project Site