|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The table details. |
||
| Catalog |
string |
The name of the data catalog to which the table belongs. |
my_catalog |
| Namespace |
string |
The name of the namespace to which the table belongs. |
my_namespace |
| Name |
string |
The unique name of the event table. |
my_table |
| Comment |
string |
The comment of the table. |
Test event table |
| CreateTime |
integer |
The creation time of the table. The value is a UNIX timestamp in milliseconds. |
1717948800000 |
| UpdateTime |
integer |
The last update time of the table. The value is a UNIX timestamp in milliseconds. |
1717948800000 |
| RetentionPolicy |
object |
The data retention policy. This includes the retention periods for hot and cold data in days. |
|
| HotTTL |
integer |
The number of days to retain hot data in high-performance query storage. |
7 |
| ColdTTL |
integer |
The number of days to retain cold data in low-cost archive storage. |
30 |
| Columns |
array |
The column definitions of the table. Each column includes the name, data type, and comment. |
[{"Name":"id","Type":"bigint","Comment":"Primary key"}] |
|
object |
|||
| Name |
string |
The name of the column. |
id |
| Type |
string |
The data type of the column. |
bigint |
| Comment |
string |
The comment of the column. |
Primary key ID |