[BEAM-13806] Add x-lang BigQuery IO integration test to Go SDK. by youngoli · Pull Request #16818 · apache/beam

…he#16818)

* [BEAM-13806] Add x-lang BigQuery IO integration test to Go SDK.

Also includes piping in flags for BigQuery IO through integration test script, and a small file for creating bigquery tables that expire after a day.

* [BEAM-13806] Splitting BigQuery IT into read and write pipelines.

Splits the integration test into two pipelines to run sequentially. Also drops table after a successful test and logs table names.

* Fixup: Fix gradle build and undo VR script changes.

* Fixup: Add Query test and fix deterministic random element generation.

CreateRows wasn't creating the same elements in both read and write pipelines after splitting the two pipelines. Adjusted it to use a consistent seed in all pipelines.

* Fixup: Avoiding inline functions

* Workaround to coder issue, plus some debugging code

* Polishing workaround with documentation and removing debug prints.

* Move pipeline code to test file

* Split Query test from non-query test

Co-authored-by: Robert Burke <lostluck@users.noreply.github.com>