https://dagster.io/ logo
#integration-dbt
Title
# integration-dbt
d

Darija Viaznikova

08/03/2023, 2:29 PM
Hey everyone, After upgrading to dagster 1.4.3, It seems that passing the
full_refresh
flag to the job config no longer works. Here is my code:
Copy code
full_refresh_job = define_asset_job(
    "full_refresh_job",
    AssetSelection.groups("marketing"),
    config={"ops": {op_name: {"config": {"full_refresh": True}}}},
)
Now it throws the following error:
DagsterInvalidConfigError: Invalid default_value for Field. Error 1: Received unexpected config entry "run_dbt_3935f" at the root. Expected: "{ }".
How should I fix it?
🤖 1
r

rex

08/03/2023, 2:48 PM
What resource are you using?
d

Darija Viaznikova

08/03/2023, 2:56 PM
I am using
dbt_cli_resource.configured
r

rex

08/03/2023, 3:00 PM
In https://github.com/dagster-io/dagster/releases/tag/1.4.0, groups are not enabled for dbt assets by default. They must be assigned explicitly. You can take a look at https://github.com/dagster-io/dagster/blob/1.4.3/MIGRATION.md#breaking-changes to see how to revert to the previous behavior. I believe that you are encountering this error since when you use
AssetSelection.groups("marketing")
, nothing is being selected.
d

Darija Viaznikova

08/03/2023, 3:23 PM
Yes, that was the problem. Thank you!