dbt cloud has a feature for testing connections. It and other features are currently failing due to adapter behavior flags not being registered for those runs.
If we look at these lines, we see the use of a flag in the adapter class init. This was par t of #808
This is not guaranteed to succeed. So we can use exception handling to ensure the control flow for other subtasks where the flags won't be registered are handled gracefully.
Checklist
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] I have updated the CHANGELOG.md and added information about my change to the "dbt-databricks next" section.
Description
dbt cloud has a feature for testing connections. It and other features are currently failing due to adapter behavior flags not being registered for those runs.
If we look at these lines, we see the use of a flag in the adapter class init. This was par t of #808
This is not guaranteed to succeed. So we can use exception handling to ensure the control flow for other subtasks where the flags won't be registered are handled gracefully.
Checklist
CHANGELOG.md
and added information about my change to the "dbt-databricks next" section.