-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Speed up equality checks for build_dbt_asset_selection asset selectio…
…ns (#25434) Current implementation does a full equality check on the full manifest. Scope it down to just the "metadata" part of the manifest, which is much smaller and faster to compare. ## How I Tested These Changes New tests Speed scope importing code like this and see a marked improvement: ``` dbt_job_6 = define_asset_job( name="dbt_6", selection=build_dbt_asset_selection(dbt_assets=[dbt_project_assets]), ) @sensor(job=dbt_job_6) def my_sensor(): pass ``` ## Changelog [dagster-dbt] Performance improvements when loading definitions using `build_dbt_asset_selection`.
- Loading branch information
Showing
3 changed files
with
84 additions
and
1 deletion.
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
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