|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
Table |
||
| Cascade |
boolean |
Whether to perform cascade deletion. |
false |
| CreatedBy |
string |
The name of the user who created the version. |
zhangsan |
| DatabaseName |
string |
The name of the metadatabase. |
database_test |
| LastAccessTime |
integer |
The timestamp when the table was last accessed. |
1608707407 |
| LastAnalyzedTime |
integer |
The last time column statistics were collected. The value is a UNIX timestamp, in seconds. |
1608707407 |
| Owner |
string |
The name of the owner. |
zhangsan |
| OwnerType |
string |
The type of the owner. Valid values: USER, ROLE, and GROUP. |
USER |
| Parameters | Parameters |
The key-value pairs that define table attributes. |
|
| PartitionKeys | ListFieldSchema |
The list of partition keys. Only partition keys of basic types are supported. If no partition keys are specified, set this parameter to an empty list. |
|
| Privileges |
PrincipalPrivilegeSet |
The permission configurations. You can leave this parameter empty. |
|
| Retention |
integer |
The retention time of the table. |
30000 |
| RewriteEnabled |
boolean |
Whether the view can be used for query rewrites. |
true |
| Sd | StorageDescriptor |
The storage descriptor that contains the physical storage information of the table. |
|
| TableName |
string |
The name of the table. |
table_name |
| TableType |
string |
The type of the metadata table. Valid values: MANAGED_TABLE, EXTERNAL_TABLE, VIRTUAL_VIEW, INDEX_TABLE, and MATERIALIZED_VIEW. |
MANAGED_TABLE |
| Temporary |
boolean |
Whether the table is a temporary table. |
false |
| ViewExpandedText |
string |
The expanded text of the view. |
'' |
| ViewOriginalText |
string |
The original text of the view. |
'' |
| CreateTime |
integer |
The time when the table was created. |
1645437703000 |