The latest service changes have not yet been reflected in this content. We will update the content as soon as possible. Please refer to the Korean version for information on the latest updates.
Available in VPC
Get table property details.
Request
This section describes the request format. The method and URI are as follows:
| Method | URI |
|---|---|
| GET | /api/v1/catalogs/{catalogId}/databases/{databaseName}/tables/{tableName}/properties |
Request headers
For information about the headers common to all Data Catalog APIs, see Data Catalog request headers.
Request path parameters
You can use the following path parameters with your request:
| Field | Type | Required | Description |
|---|---|---|---|
catalogId |
Integer | Required | Catalog ID
|
databaseName |
String | Required | Database name
|
tableName |
String | Required | Table name
|
Request example
The request example is as follows:
curl --location --request GET 'https://datacatalog.apigw.ntruss.com/api/v1/catalogs/4**/databases/default/tables/atmosphere_data/properties' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
Response
This section describes the response format.
Response body
The response body includes the following data:
| Field | Type | Required | Description |
|---|---|---|---|
storageFormatInfo |
Object | - | Storage format information |
storageFormatInfo.inputFormat |
String | - | Data read format |
storageFormatInfo.outputFormat |
String | - | Data output format |
storageFormatInfo.serializationLib |
String | - | Serialization and deserialization library |
serdeParams |
Object | - | SerDe parameters |
serdeParams.quoteChar |
String | - | Data recognition symbol
|
serdeParams.escapeChar |
String | - | Data recognition removal character
|
serdeParams.separatorChar |
String | - | Schema determination delimiter
|
tableParams |
Object | - | Table parameters |
tableParams.EXTERNAL |
String | - | External storage status of the table
|
tableParams.compressionType |
String | - | Compressed file extension
|
tableParams.clusterNo |
String | - | DB service number
|
tableParams.connectionId |
String | - | Connection ID
|
tableParams.connectionName |
String | - | Connection name
|
tableParams.created_time |
String | - | Table creation date and time
|
tableParams.dataFormat |
String | - | Data format |
tableParams.dataType |
String | - | Data type |
tableParams.delimiter |
String | - | Delimiter
|
tableParams.isDirectory |
String | - | Whether the scan target is a directory
|
tableParams.last_modified_time |
String | - | Update date and time
|
tableParams.metadata_location |
String | - | Metadata file path
|
tableParams.numFiles |
String | - | Total number of scanned files
|
tableParams.objectstorageContentLength |
String | - | Object length (byte) |
tableParams.objectstorageContentType |
String | - | Object data type |
tableParams.objectstorageLastModified |
String | - | Object update date and time
|
tableParams.partitioningScheme |
String | - | Partitioning schema
|
tableParams.scannerId |
String | - | Scanner ID |
tableParams.scannerName |
String | - | Scanner name |
tableParams.skip.header.line.count |
String | - | Number of excluded header lines |
tableParams.totalSize |
String | - | Total capacity of scanned data (byte)
|
tableParams.transient_lastDdlTime |
String | - | Table DDL update date and time
|
The property information displayed may vary depending on the table type.
- For more information about the properties of Apache Iceberg tables, see Iceberg Table Metadata.
For RDB data
The following describes the additional properties displayed for RDB (MySQL, MSSQL, PostgreSQL) data.
| Field | Type | Required | Description |
|---|---|---|---|
{dbType}Collation |
String | - | Set string sorting. |
{dbType}DataSize |
String | - | Data size |
{dbType}IndexSize |
String | - | Index size |
{dbType}Indexes |
String | - | Index structure |
{dbType}Rows |
String | - | Number of rows (records) |
{dbType}TableSize |
String | - | Total table size |
For MongoDB data
The following describes the additional properties displayed for MongoDB data.
| Field | Type | Required | Description |
|---|---|---|---|
mongodbAvgObjSize |
String | - | Collection average object size |
mongodbFreeStorageSize |
String | - | Collection free storage capacity |
mongodbIndexSize |
String | - | Collection index size |
mongodbIndexes |
String | - | Collection index information |
mongodbRowCount |
String | - | Number of collection rows (records) |
mongodbSize |
String | - | Collection size
|
mongodbStorageSize |
String | - | Storage size allocated to the collection |
mongodbTotalSize |
String | - | Total disk capacity of the collection |
Response status codes
For response status codes common to all Data Catalog APIs, see Data Catalog response status codes.
Response example
The response example is as follows:
{
"EXTERNAL": "TRUE",
"compressionType": "",
"created_time": "1743125379",
"dataFormat": "csv",
"dataType": "file",
"inputFormat": "org.apache.hadoop.mapred.TextInputFormat",
"isDirectory": "TRUE",
"objectstorageContentLength": "2783",
"objectstorageContentType": "text/csv",
"objectstorageLastModified": "1743125017",
"outputFormat": "org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat",
"partitioningScheme": "hive",
"scannerId": "9**",
"scannerName": "scan_airQuality",
"serializationLib": "org.apache.hadoop.hive.serde2.OpenCSVSerde",
"skip.header.line.count": "1",
"transient_lastDdlTime": "1743125379",
"serde.quoteChar": "\"",
"serde.escapeChar": "\\",
"serde.separatorChar": ","
}