pub fn plan_writes(page: &[Value], spec: &WriteSpec) -> WritePlanExpand description
Partition page into upserts + deletes per spec. The single place all six
sinks share. WriteMode::Append should never reach here (callers route
append separately); if it does, every row is treated as an upsert.