Closed lassebenni closed 1 year ago
This PR has been marked as Stale because it has been open with no activity as of late. If you would like the PR to remain open, please comment on the PR or else it will be closed in 7 days.
Although we are closing this PR as stale, it can still be reopened to continue development. Just add a comment to notify the maintainers.
Explicitly reference the helper macro 'spark__recover_partitions'
Otherwise running
stage_external_sources
in a Model will error with 'spark__recover_partitions' is undefined.Description & motivation
When trying to run
stage_external_sources
in a Model e.g.my_model.sql
dbt errors with
This is due to the helper macro
spark__recover_partitions
not being self-referenced:dbt_external_tables.spark__recover_partitions
. This commit fixes this.Checklist