aip_sdk.delete_rows
aip_sdk.delete_rows(dataset_id: str, row_ids: list[str], current_snapshot_id: str | int | None = None, client: APIClient | None = None) -> list[str]
Delete rows by row ID.
Parameters
dataset_idstr: Dataset ID.row_idslist[str]: List of row IDs to delete.current_snapshot_idstr | int | None: Optional Iceberg snapshot ID for conflict detection. Accepts eitherstrorint; serialised as string to the API.clientAPIClient | None: Optional API client.
Returns
list[str]: List of deleted row IDs.
Raises
APIError: On HTTP error, including 409 whencurrent_snapshot_idmismatches.