gulliver_lint
Run a static SQL scale check to catch patterns like SELECT *, missing partition filters, and cross joins; get severity and suggested fixes without SQL rewrites.
Instructions
Static scale lint, no database needed: report SQL patterns that are fine on small data but expensive or wrong on big data (rules GV001-GV012: SELECT *, missing partition filter, cross joins, functions on partition columns, ...). Each finding has a severity and a suggested fix as text; nothing is rewritten. Use it for a quick check while writing SQL; use gulliver_fix to get the rewritten SQL, gulliver_preflight for cost on a real connection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | Exactly one SQL statement (SELECT/WITH) in the connection's dialect. Several statements are rejected. | |
| dialect | No | Dialect used to parse the SQL. Some rules only apply to some engines (e.g. partition filters on BigQuery). | duckdb |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| next_step | Yes |