doris_get_table_partitions
Lists a Doris table's partitions and their latest visible version times so you can check partition coverage and measure data freshness lag.
Instructions
看分区清单与数据新鲜度(SHOW PARTITIONS,17 列)。 VisibleVersionTime 是分区最新可见版本时间,用它算滞后(官方 monitor_data_freshness)。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"database": "<database>",
"table": "<table>"
},
"name": "doris_get_table_partitions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | 表名 | |
| database | Yes | 数据库名 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |