How can I pass job parameters to a dbt task?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-29-2024 08:43 AM
I have a dbt task that will use dynamic parameters from the job: {"start_time": "{{job.start_time.[timestamp_ms]}}"}
My SQL is edited like this:
select 1 as id
union all
select null as id
union all
select {start_time} as id
This causes the task to fail. How can I pass the start_time parameter correctly?