peaka_create_semantic_table
Creates a semantic table from a saved query, turning that query into a queryable view inside a semantic catalog.
Instructions
Create a semantic table inside a semantic catalog in the Peaka project. The table is backed by an existing saved query, so the catalog/schema/table identifiers become a queryable view over that query. Use peaka_create_query (or peaka_list_queries) to obtain the queryId, and peaka_create_semantic_catalog (or peaka_list_catalogs) for the catalogId.
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 |
|---|---|---|---|
| queryId | Yes | The saved query ID used to populate the semantic table. From peaka_list_queries or peaka_create_query. | |
| catalogId | Yes | The semantic catalog ID the table should belong to. From peaka_create_semantic_catalog or peaka_list_catalogs. | |
| projectId | Yes | The Peaka project ID to run against. | |
| tableName | Yes | Name of the semantic table to create. | |
| schemaName | Yes | Name of the schema for the table. |