parse_sql
Parses raw SQL with a specified dialect to return its parse tree for syntax validation and structural analysis.
Instructions
Parse a raw SQL string using an explicitly specified dialect and return its parse tree.
Args: sql: The SQL text to parse. dialect: SQLFluff dialect name, e.g. "ansi", "bigquery", "snowflake", "postgres".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| dialect | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||