BigQuery helper bqh.send_rows should not mutate input rows.

This leads to very surprising results if the call is retried
with seemingly same input. This is only a problem if protobuf messages
are sent as rows, since these are modified to dicts, which are then
rejected during retries.

R=qyearsley

Bug: 804289
Change-Id: If135810b65f3ba5ae375405fa95a28c916550bf6
Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/1979465
Commit-Queue: Andrii Shyshkalov <tandrii@google.com>
Auto-Submit: Andrii Shyshkalov <tandrii@google.com>
Reviewed-by: Quinten Yearsley <qyearsley@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#27994}
Cr-Mirrored-From: https://chromium.googlesource.com/infra/infra
Cr-Mirrored-Commit: 482b8bc6cc1bd74a9b1b5745b3ff4fe6c81e6ecd
2 files changed
tree: 72a851ee529962152eb5241e5e53fd318e300072
  1. .coveragerc
  2. infra_libs/
  3. setup.py