explain_analyze_query
Get detailed query analysis with execution statistics for SQL statements in watsonx.data. Supports Presto and Prestissimo engines with optional verbose output.
Instructions
Get detailed query analysis with execution statistics in watsonx.data.
Args: engine_id: Presto or Prestissimo engine identifier statement: SQL query to analyze. If query fails, consider using fully qualified table names (catalog.schema.table) engine_type: Engine type - "presto" or "prestissimo" (default: "presto") verbose: Include detailed statistics
Returns: Dict with engine_id, engine_type, statement, analysis, and full response
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| engine_id | Yes | ||
| statement | Yes | ||
| engine_type | No | presto | |
| verbose | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||