| Field | Required | Description |
|---|---|---|
sql | Yes | DuckDB SQL query (SELECT statements and CTEs only) |
outputTable | Yes | Name of the table this step produces |
outputSchema | Yes | Column names and types for the result output table |
SQL safety
- Only
SELECTstatements and CTEs (WITH ... AS) are allowed - Mutations (i.e.
INSERT,UPDATE,DELETE) are blocked - Variables are parameterized to prevent SQL injection
- Tables are isolated per job — one job cannot access the results of any other job
Validation
| Check |
|---|
| Referenced tables exist in previous steps |
| SQL syntax is valid |
| Column references are validated against source table schemas |

