https://dagster.io/ logo
#dagster-support
Title
# dagster-support
t

Timo Klockow

12/28/2022, 5:12 PM
Is there already a solution for dealing with errors like this ?
Copy code
dagster._check.CheckError: Invariant failed. Description: Assets defined for node 'DailyJob' have a partitions_def of Daily, starting 2022-10-20 UTC., but job 'HourlyJob' has non-matching partitions_def of Hourly, starting 2022-10-20-00:00 UTC..
🤖 1
Thrown
dagster/_core/definitions/asset_layer.py
Copy code
ddef build_asset_selection_job(
    name: str,

    ...

    if partitions_def:
        for asset in included_assets:
            check.invariant(
                asset.partitions_def == partitions_def or asset.partitions_def is None,
                f"Assets defined for node '{asset.node_def.name}' have a partitions_def of "
                f"{asset.partitions_def}, but job '{name}' has non-matching partitions_def of "
                f"{partitions_def}.",
            )
I had a bug on my side, so I think this is solved for me 😄
👍 1
c

Charlie Bini

01/20/2023, 3:15 PM
@Timo Klockow do you remember where the bug was? I just started getting the same error
t

Timo Klockow

01/20/2023, 3:45 PM
No I am sorry, I actually don’t remember
3 Views