[Core] New jinja model.batch
context
#6585
Labels
content
Improvements or additions to content
dbt Core
The changes proposed in this issue relate to dbt Core
dbt-core v1.9
Link to the page(s) on docs.getdbt.com requiring updates
Tell us more about this update
We've added a new
batch
object to the already existing model dbt-jinja-functions. I'm not sure exactly how this should be documented, as it a new thing on an already existing "dbt-jinja-function" and not a new "dbt-jinja-function" itself (depending on how you think about it).batch
propertiesThe
batch
qualities available are:id
(i.e.model.batch.id
)event_time_start
(i.e.model.batch.event_time_start
)event_time_end
(i.e.model.batch.event_time_end
)things to call out
model.batch
is only ever populated in the context of a microbatch model batch executiona. that is, outside of batch execution
model.batch = None
and the sub properties are unaccsibleExample of (2)
Reviewers/Stakeholders/SMEs
Related GitHub issues
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: