-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial implementation of cross-project ref (#7276)
* Create publication.py, various Publication classes, Dependency class * Load dependencies.yml and the corresponding publication file * Add "public_nodes" and populate ref_lookup * resolve_ref working * Add public nodes to parent and child maps * Bump manifest version and fix tests, use ModelDependsOn * Split out PublicationArtifact and PublicationConfig, store public_models separately * Store dependencies in publication artifact * change detection of PublicModel for >= python3.10 * Handle removing references for re-processing if publication has changed * Handle only changed publication artifacts * Add some logging events * Remove duplicate nodes from manifest * refactor relation_from_relation_name * Remove duplicate writing of manifest.json * Add public_nodes to flat_graph * Move some file name constants to core/dbt/constants.py * Remove "environment" from ProjectDependency. Add database/schema/identifier to PublicModel. Update TargetNotFound exception. * Include external publication dependencies in publication artifact dependencies * Remove create_from_relation_name, call create_from_node instead * Change PublicationArtifactChanged message to debug level * Make write_publication_artifact a function in parser/manifest.py * Create fixture to create minimal alternate project (just models) * develop multi project test case
- Loading branch information
Showing
30 changed files
with
6,689 additions
and
720 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
kind: Features | ||
body: Publication artifacts and cross-project ref | ||
time: 2023-04-20T12:47:56.92683-04:00 | ||
custom: | ||
Author: gshank | ||
Issue: "7227" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.