Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix innoverio.vscode-dbt-power-user Exasol errors #78

Merged

Conversation

peterkioko
Copy link
Contributor

The innoverio.vscode-dbt-power-user VScode extension expects all errors coming from DBT adapters to be raised as DBT errors. The dbt-exasol adapter was raising Exasol DB errors as pyexasol's QueryError error type and so this caused problems in the vscode extension.

This commit changes the error to the standard DBT DB error type.

The innoverio.vscode-dbt-power-user VScode extension expects all errors
coming from DBT adapters to be raised as DBT errors. The dbt-exasol
adapter was raising Exasol DB errors as pyexasol's QueryError error type
and so this caused problems in the vscode extension.

This commit changes the error to the standard DBT DB error type.
Copy link
Owner

@tglunde tglunde left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @peterkioko , thank you very much for this contribution. Happy to accept this change!

@tglunde tglunde merged commit 7ba0bd6 into tglunde:master Jun 12, 2023
tglunde pushed a commit that referenced this pull request Jun 12, 2023
The innoverio.vscode-dbt-power-user VScode extension expects all errors
coming from DBT adapters to be raised as DBT errors. The dbt-exasol
adapter was raising Exasol DB errors as pyexasol's QueryError error type
and so this caused problems in the vscode extension.

This commit changes the error to the standard DBT DB error type.

Co-authored-by: Peter Kioko <kioko@grantstreet.com>
tglunde pushed a commit that referenced this pull request Jun 12, 2023
The innoverio.vscode-dbt-power-user VScode extension expects all errors
coming from DBT adapters to be raised as DBT errors. The dbt-exasol
adapter was raising Exasol DB errors as pyexasol's QueryError error type
and so this caused problems in the vscode extension.

This commit changes the error to the standard DBT DB error type.

Co-authored-by: Peter Kioko <kioko@grantstreet.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants