We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
dbt v0.19.0rc1
dbt-spark v0.19.0rc1
The text was updated successfully, but these errors were encountered:
I don't currently have access to a Databricks version of Spark to test dbt snapshots against dbt-core 0.19.0rc1.
But I'm guessing that dbt/include/spark/macros/materializations/snapshot.sql will need to be updated like this:
{% if not target_relation_exists %} - {% set build_sql = build_snapshot_table(strategy, model['injected_sql']) %} + {% set build_sql = build_snapshot_table(strategy, model['compiled_sql']) %} {% set final_sql = create_table_as(False, target_relation, build_sql) %} {% else %}
Sorry, something went wrong.
kwigley
Successfully merging a pull request may close this issue.
dbt v0.19.0rc1
, we should releasedbt-spark v0.19.0rc1
for testing as wellThe text was updated successfully, but these errors were encountered: