aws-samples / dbt-glue

This repository contains the dbt-glue adapter
Apache License 2.0
101 stars 69 forks source link

fix: add correct import for exceptions #440

Closed sanga8 closed 2 months ago

sanga8 commented 2 months ago

resolves #439

Description

Add exceptions import: from dbt.adapters.exceptions.connection import FailedToConnectError from dbt_common.exceptions import ExecutableError

Checklist

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

sanga8 commented 2 months ago

@moomindani Just fixed an import. I wasn't able to identify why the import wasn't done correctly, because I did not have this bug previously. Would you have any idea?

moomindani commented 2 months ago

Thanks for contributing as always. When we upgraded from dbt 1.7 to 1.8, it included some class changes, but I do not have any other idea..