Slackbot
09/07/2022, 12:50 PMStephen Bailey
09/07/2022, 2:03 PMsixth_dbt
, but the only output available is third_dbt
.Lorenzo
09/07/2022, 2:04 PMStephen Bailey
09/07/2022, 2:04 PMLorenzo
09/07/2022, 2:05 PMdbt_assets_1 = load_assets_from_dbt_project(project_dir=DBT_PROJECT_DIR, select="first_dbt")
dbt_assets_2 = load_assets_from_dbt_project(project_dir=DBT_PROJECT_DIR, select="second_dbt")
dbt_assets_3 = load_assets_from_dbt_project(project_dir=DBT_PROJECT_DIR, select="third_dbt")
Stephen Bailey
09/07/2022, 2:05 PMsixth_dbt
coming from?third_dbt
? maybe there are assets named identically?Lorenzo
09/07/2022, 2:07 PM/*{{ config(materialized='view') }}*/
{{ config(
tags='advertisement'
) }}
select *
from {{ ref("second_dbt") }}
Stephen Bailey
09/07/2022, 2:10 PMdbt_run_project
job is materializing all the indvidual assets in the dbt project. and that specific op is yielding an asset key that doesn't exist (or something). My first thought is that maybe sixth_dbt
is not able to run correctly in the dbt project? Does the model run okay?Lorenzo
09/07/2022, 2:11 PMdbt run
, everything works perfectly in a few seconds. :(Stephen Bailey
09/07/2022, 2:13 PMdbt_assets = load_assets_from_dbt_project(project_dir=DBT_PROJECT_DIR)
once, without a select
, i wonder if that would work.Lorenzo
09/07/2022, 2:13 PMStephen Bailey
09/07/2022, 2:14 PMLorenzo
09/07/2022, 2:15 PMStephen Bailey
09/07/2022, 5:10 PMdbt run --select failed_model+
dynamically to accommodate it. One thing you might be able to do instead is to go to Global Asset Graph > select failed_models+
in the selector, then run a new jobLorenzo
09/07/2022, 5:30 PMyuhan
09/07/2022, 5:53 PMowen
09/07/2022, 6:00 PMLorenzo
09/08/2022, 11:02 AMowen
01/13/2023, 5:44 PM