Execute UPDATE on an append-only table with retry on delete conflict.
(
ctx: &SQLContext,
update: &Update,
table: &Table,
)
| 165 | |
| 166 | /// Execute UPDATE on an append-only table with retry on delete conflict. |
| 167 | async fn execute_cow_update( |
| 168 | ctx: &SQLContext, |
| 169 | update: &Update, |
| 170 | table: &Table, |
| 171 | ) -> DFResult<DataFrame> { |
| 172 | retry_on_conflict("CoW UPDATE", is_delete_conflict, || { |
| 173 | execute_cow_update_once(ctx, update, table) |
| 174 | }) |
| 175 | .await |
| 176 | } |
| 177 | |
| 178 | /// Single attempt of CoW UPDATE execution. |
| 179 | async fn execute_cow_update_once( |
no test coverage detected