-
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
Standart flow don't work in Databricks with unity catalog #190
Comments
@bochkarevnv We also experienced this behaviour. The cause is that the spark plugin implementation of the file This seems to be the only change required to make it work as expected. One could either implement a full new plugin for Databricks here, but that might be a bit overkill given the rest of the files are exactly the same. In the short term, you can override the macro locally by creating a new macro sql file and add the below code:
|
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days. |
Still actual |
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days. |
Still actual |
This should be fixed by #236 |
This issue has been marked as Stale because it has been open for 180 days with no activity. If you would like the issue to remain open, please comment on the issue or else it will be closed in 7 days. |
Although we are closing this issue as stale, it's not gone forever. Issues can be reopened if there is renewed community interest. Just add a comment to notify the maintainers. |
Describe the bug
When I use plugin in Databricks with unity catalog for any start external tables drops and create.
Steps to reproduce
Create spec like this:
Run it first time with
dbt run-operation stage_external_sources
Run it one more time
Expected results
At first time external table created, at second nothing to do.
Actual results
At first time external table created, at second drops and creates
Screenshots and log output
Log (only main lines)
System information
The contents of your
packages.yml
file:Which database are you using dbt with?
The output of
dbt --version
:The operating system you're using:
Windows/Linux
The output of
python --version
:Python 3.11.1
Additional context
I think problem is near https://github.com/dbt-labs/dbt-external-tables/blob/main/macros/plugins/spark/get_external_build_plan.sql#L6
The text was updated successfully, but these errors were encountered: