https://dagster.io/ logo
#ask-ai
Title
# ask-ai
s

Shane Keller

03/09/2024, 7:21 PM
When you materialize a dagster asset with an asset job, can you specify which partition to materialize in the run config?
s

Scout

03/09/2024, 7:21 PM
Yes, when you materialize a Dagster asset with an asset job, you can specify which partition to materialize by using the
partition_key
in the run config. The
partition_key
is an optional string that specifies the run config to execute and can only be used to select run config for assets with partitioned config. This allows you to target a specific partition when materializing an asset as part of a job run. The documentation provides details on how to use the
partition_key
for this purpose.