{
  "slug": "gcloud-datastream-objects-start-backfill-filters-partial-backfills-8cb998404183",
  "title": "gcloud datastream objects start-backfill filters partial backfills",
  "tools": [
    "gcloud"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-06-02T00:00:00.000Z",
  "announced_at": "2026-06-02T00:00:00.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When you need to backfill only matching rows from a supported SQL source, run `gcloud datastream objects start-backfill` for the object with `--sql-where-clause` set to the filter, without the `WHERE` keyword.",
    "examples": [
      "gcloud datastream objects start-backfill <object> --stream=<stream> --location=<location> --sql-where-clause=\"t.key1 = 'value1'\""
    ],
    "gotchas": [
      "OBJECT (required): ID or fully qualified identifier of the stream object.",
      "--stream (required): Stream name; can be supplied in the fully qualified object identifier instead.",
      "--location (required): Resource location; can be supplied in the fully qualified object identifier instead.",
      "--sql-where-clause: SQL WHERE clause selecting included data, without the `WHERE` keyword. Supported only for SQL sources.",
      "Prerequisite: Partial backfill is supported only for SQL sources. Oracle, PostgreSQL, and MySQL support is being made available gradually; a request fails if the stream does not yet support the feature.",
      "Prerequisite: The object must not have `Pending` or `Active` status when initiating backfill.",
      "The partial backfill is on the specified object."
    ]
  },
  "why_it_matters": "When backfilling only matching records from a Datastream object, start a partial backfill with a SQL where clause.",
  "sources": [
    "https://docs.cloud.google.com/sdk/docs/release-notes#57100_2026-06-02",
    "https://docs.cloud.google.com/sdk/gcloud/reference/datastream/objects/start-backfill",
    "https://docs.cloud.google.com/datastream/docs/manage-backfill-for-the-objects-of-a-stream"
  ],
  "rank": 0.94019,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v1+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "cloud-20261008",
    "verdict_id": "cloud-20261008:cloud-20261008-7c0263706e330654-2:gate",
    "evidence_hash": "260d8d51f1d0c3536f5f9be438870757d846f609a5a88e8f889ce5980e160adc"
  },
  "review": {
    "draft_hash": "c32e0596ceec75299581e57ef8ec25486514f7f52ee5e80f40ae91d76f54c3e6",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "cloud-20261008:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.94 >= 0.9; 2 needed) and Jev gave 0.68 (>= 0.6 needed)."
  }
}
