parse_sql
Parse raw SQL with an explicitly specified dialect to obtain its parse tree for syntax analysis and validation.
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 | |||