Skip to content

airbyte+ dbt + dagster: dbt upstream dependency issue #20961

Answered by garethbrickman
nasirus asked this question in Q&A
Discussion options

You must be logged in to vote

I suspect that you need to update the schedule.py to include the Airbyte flows specifically.

In assets.py the code creates both the dbt assets via dbt_project_dbt_assets and the upstream Airbyte assets using the load_assets_from_airbyte_instance function. However the schedule definition only invokes dbt_project_dbt_assets.

Our documentation shows example schedules for Airbyte syncs. It doesn't use dbt, but it does specify the use of airbyte_assets in the schedule definition. Update your schedule.py similarly and give that a try!

from dagster import define_asset_job, ScheduleDefinition, Definitions

# Materialize all assets
run_everything_job = define_asset_job("run_everything", selection="*"

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nasirus
Comment options

@garethbrickman
Comment options

Answer selected by nasirus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
integration: dbt Related to dagster-dbt integration: airbyte Related to dagster-airbyte area: schedule Related to schedules
2 participants