Hi I’m new to dagster and I have few questions abo...
# ask-community
a
Hi I’m new to dagster and I have few questions about Multi-Dimensional partitions including a Dynamic partition + Time partition. Context : Basically I create one job by client and for each of the jobs, I have an asset which is defined with the same definition. Then I have a sensor that checks if there is new partitions for each client and add/remove them. Problem : All the dynamic partitions are mixed up between all my jobs like if they were all connected. I can’t find the way to do it in documentation. If you could give me some advices or be available for a call it would be awesome.
Could it be due to the fact that I generate my job using same
partition_def
and
group_name
?
Copy code
for client in clients:
    job = define_asset_job(
        name=f"snowflake_client_{client['tenant_id']}",
        selection=AssetSelection.groups(SNOWFLAKE_GROUP_NAME),
        partitions_def=full_partition,
        config={
            "ops": {
                "extract_snowflake_logs": {
                    "config": {"tenant_id": client["tenant_id"], "accounts": client["accounts"]}
                },
                "extract_snowflake_metadata": {
                    "config": {"tenant_id": client["tenant_id"], "accounts": client["accounts"]}
                },
            }
        },
    )
v
`DynamicPartitionsDefinition`s with the same name are shared across assets/jobs using it.
❤️ 1