-
Notifications
You must be signed in to change notification settings - Fork 123
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
AWS Databricks - 1.6.0 causing dbt commands to describe tables and schemas unrelated to the operation #403
Comments
Thanks for opening this issue and for the reproduction steps. Investigating now. |
Yep, #326 is the culprit. Fix incoming. |
Revert has been completed and release 1.6.1 is live on pypi and on github: https://github.com/databricks/dbt-databricks/releases/tag/v1.6.1
|
Please reopen the issue if the error persists. |
@susodapop The issue has persisted, we have resolved by rolling back to 1.5.4 as that was the last working version reported in our systems. |
Just filed #442 before finding this issue - probably the same thing so see that issue for a reproduction. |
Describe the bug
Our jobs used to only scan tables related to a job, for example,
dbt run --select my_model
would show DESCRIBE statements for tables within the schema that this model was concerned with.It is now describing tables within schemas the run doesn't manage, which is both adding execution time and causing errors when the user doesn't have access to the storage location of that data.
Steps To Reproduce
Expected behavior
This should only run DESCRIBE on tables that have been selected to be ran by the job, not all tables or unrelated tables to the project.
System information
I'm aware this isn't the same command, but I don't have access to this directly.
The output of
dbt --version
:The operating system you're using:
Databricks jobs: 11.2 runtime version
The output of
python --version
:3.9.5
Additional context
I believe that this has something to do with the following change: #326, it is the only change to this I could find in the release between dbt-core / dbt-databricks 1.6.0
The text was updated successfully, but these errors were encountered: