get_table_stats
Retrieve statistics for a specified table in a Trino cluster, using optional catalog and schema parameters to locate the table.
Instructions
Get statistics for a table.
Args: table: The table name (e.g. 'my_table'). Preferably just the table name; catalog and schema should be passed as separate parameters. Fully qualified names like 'catalog.schema.table' are also accepted. catalog: The catalog name (optional if default is configured) schema: The schema name (optional if default is configured)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | The table name (e.g. 'my_table'). Preferably just the table name; catalog and schema should be passed as separate parameters. Fully qualified names like 'catalog.schema.table' are also accepted for convenience. | |
| schema | No | The schema name (e.g. 'my_schema') | |
| catalog | No | The catalog name (e.g. 'my_catalog') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |