seeknal dry-run¶
Validate a YAML or Python pipeline file and preview its execution without actually running it. This performs comprehensive validation including syntax, schema, and dependency checks.
Synopsis¶
Description¶
The dry-run command performs comprehensive validation of a pipeline file:
- YAML syntax validation with line numbers for errors
- Schema validation for required fields and types
- Dependency validation to ensure refs point to existing nodes
- Preview execution with sample data (optional)
This is useful for validating draft files before applying them or checking for errors before a full pipeline run.
Options¶
| Option | Description |
|---|---|
FILE_PATH |
Path to YAML or Python pipeline file |
--limit, -l |
Row limit for preview (default: 10) |
--timeout, -t |
Query timeout in seconds (default: 30) |
--schema-only, -s |
Validate schema only, skip execution preview |
Examples¶
Validate and preview a draft file¶
Preview with 5 rows¶
Schema validation only (no execution)¶
Longer timeout for slow queries¶
Validation Output¶
Validating: draft_source_orders.yml
Syntax: OK
Schema: OK
Dependencies: OK
Preview (first 10 rows):
┌──────────┬────────────┬───────────┐
│ order_id │ customer_id│ order_date│
├──────────┼────────────┼───────────┤
│ 1 │ 101 │ 2024-01-15│
│ 2 │ 102 │ 2024-01-16│
└──────────┴────────────┴───────────┘
Validation passed.
See Also¶
- seeknal draft - Generate template files
- seeknal apply - Apply file to production
- seeknal run - Execute pipeline