Skip to content

Start a backfill for all partitions from a sensor #27608

Discussion options

You must be logged in to vote

Thanks for the answer. Using the GraphQL API sounds like the best shot. I specifically want to trigger a whole job, not specific assets. The way that I understood AutomationConditions is that they only work on an asset basis.

For future reference, the necessary GraphQL command is below:

mutation LaunchPartitionBackfill($backfillParams: LaunchBackfillParams!) {
  launchPartitionBackfill(backfillParams: $backfillParams) {
    ... on LaunchBackfillSuccess {
      backfillId
      __typename
    }
    ... on PartitionSetNotFoundError {
      message
      __typename
    }
    ... on PartitionKeysNotFoundError {
      message
      __typename
    }
    ... on InvalidStepError {
      invalidSt…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@thomas-tran-de
Comment options

Answer selected by garethbrickman
@thomas-tran-de
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
area: backfill Related to Backills area: sensor Related to Sensors
2 participants