Jack Yin
10/31/2022, 5:19 PMdagster job backfill
from console every day, but if that’s the only way to do it then i guess I can do thatprha
10/31/2022, 9:05 PMdagster job backfill
or to use our GraphQL API, hitting the launchPartitionBackfill
mutation (how backfills are launched from dagit).Jack Yin
11/01/2022, 9:26 PM__ASSET_JOB_0
and other miscellaneous asset jobs are autogeneratedprha
11/01/2022, 9:37 PMdefine_asset_job
. A job is a bound set of operations, tied to an environment. An asset materialization is the single instance of an asset execution, as part of a job run.Jack Yin
11/01/2022, 9:50 PMdagster job backfill
backfills everythingprha
11/02/2022, 12:18 AMJack Yin
11/02/2022, 12:22 AMprha
11/02/2022, 12:24 AMJack Yin
11/02/2022, 12:30 AMprha
11/02/2022, 12:32 AMpartitionSetOrError(
repositorySelector: $repositorySelector
partitionSetName: $partitionSetName
) {
... on PartitionSet {
id
name
pipelineName
partitionsOrError {
... on Partitions {
results {
name
}
}
}
partitionStatusesOrError {
__typename
... on PartitionStatuses {
results {
id
partitionName
runStatus
runDuration
}
}
}
}
}
}
Jack Yin
11/02/2022, 12:32 AMprha
11/02/2022, 12:33 AMpartitionsOrError
gives the full range of partitions, and partitionStatusesOrError
give the status of any runs that exist for each partition. I think the difference of those two (when selecting partition names) will give you the set of missing partitions.Jack Yin
11/02/2022, 12:40 AMprha
11/02/2022, 1:38 AMmy_job.get_partition_set_def().name
Jack Yin
11/02/2022, 4:53 AM