list_statistics
List statistics on a warehouse or SQL Analytics Endpoint. Filter by schema, table, user-created, or auto-created statistics.
Instructions
List statistics on a warehouse or SQL Analytics Endpoint.
Both Data Warehouses and SQL Analytics Endpoints are supported.
Args: workspace: Workspace name or GUID. item: Warehouse or SQL endpoint name or GUID. schema: When provided, only statistics on tables in this schema are returned. table: When provided, only statistics on this table (unqualified name) are returned. user_only: When True, only user-created statistics are returned. auto_only: When True, only auto-created statistics are returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | Yes | ||
| item | Yes | ||
| schema | No | ||
| table | No | ||
| user_only | No | ||
| auto_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |