peaka_get_table_statistics
Retrieve column-level statistics for a table to estimate distinct fraction per column, aiding cardinality estimation and query optimization.
Instructions
Get column-level statistics for a table in the Peaka project. Returns the catalog/schema/table identifiers and a per-column distinctFraction (estimated fraction of distinct values vs total rows), useful for cardinality estimation and query optimization.
If you do not already know the projectId for the current task, call peaka_list_projects first and ask the user which project to use. Remember the chosen projectId for subsequent calls in this conversation.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| catalogId | Yes | ||
| projectId | Yes | The Peaka project ID to run against. | |
| tableName | Yes | ||
| schemaName | Yes |