[CT-875] [Bug] fail on_schema_changes error message not verbose enough #5504
Labels
bug
Something isn't working
good_first_issue
Straightforward + self-contained changes, good for new contributors!
incremental
Incremental modeling with dbt
Team:Adapters
Issues designated for the adapter area of the code
Is there an existing issue for this?
Current Behavior
Hello,
I am using DBT on posgresql.
When I use on_schema_changes
on_schema_change='fail',
I expect to get a verbose explanation of what the diff between the source and destination schemas are.Expected Behavior
Getting extra information to fix my failed schema fast.
In this context:
{% set msg %} In {{ target_relation }}: Schema changed: {{ schema_changed }} Source columns not in target: {{ source_not_in_target }} Target columns not in source: {{ target_not_in_source }} New column types: {{ new_target_types }} {% endset %}
Steps To Reproduce
No response
Relevant log output
No response
Environment
What database are you using dbt with?
postgres
Additional Context
No response
The text was updated successfully, but these errors were encountered: