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

Stephen Bailey

06/08/2022, 5:28 PM
Is there any easy way to: 1. search for all partitioned jobs with missing/failed partitions 2. launch a backfill for each of them with just those partitions I am planning to write a script leveraging the Graphql api, but if anyone has suggestions for how to do this, woudl love to hear
p

prha

06/08/2022, 6:02 PM
Hi Stephen… you’re looking for a way to do this programmatically, yes? Asking because I think you’re already aware of the experimental partitions view that you can enable in your dagit settings.
s

Stephen Bailey

06/08/2022, 6:24 PM
yes, programmatically! the new ui is great, but i'd still have to go through and click on each job
p

prha

06/08/2022, 6:29 PM
@Dagster Bot issue create programmatic way of querying job partition status
d

Dagster Bot

06/08/2022, 6:29 PM
Invalid command. Did you mean to create an issue or a discussion? Try
@dagster_bot <issue|docs|discussion> <title>
s

Stephen Bailey

06/08/2022, 8:06 PM
I'm having a hard time figuring out the GraphQL for this missing/failed query -- basically, the info that is exposed here: I have been able to write a script to fetch recently failed runs, and launch a backfill to resubmit them. This works in a pinch, but it doesn't actually solve my problem, which is finding the missing/failed partitions from a partition set. Anyone know how to get the partition names via GraphQL?
2 Views