Allow fire_event
to optionally handle warn_or_error
functionality
#236
Labels
fire_event
to optionally handle warn_or_error
functionality
#236
Housekeeping
Short description
Originally
warn_error
andwarn_error_options
was only meant to work with a subset of warnings/errors. However, it has come to be assumed, more often than not, that both flags work with all warnings/errors. As such, we wantfire_event
to begin handlingwarn_error
andwarn_error_options
in an opt-in manner. We unfortunately can't just by default turn it on as that might break working dbt projects (i.e. doing so would be a major version bump). At some point in the future the default will be opt-in, and even later we'll likely remove the ability to opt out.Acceptance criteria
fire_event
handleswarn_error
andwarn_error_options
warn_error
andwarn_error_options
infire_event
is opt-inwarn_or_error
should pass through tofire_event
with opt-inSuggested Tests
warn_or_error
functionality doesn't run infire_event
without opt-inwarn_or_error
functionality does run infire_event
with opt-inwarn_or_error
passes through tofire_event
Impact to Other Teams
N/A
Will backports be required?
No
Context
dbt-labs/dbt-core#11116
The text was updated successfully, but these errors were encountered: