dvormagic opened a new pull request, #34037: URL: https://github.com/apache/beam/pull/34037
This pull request adds support for connecting to a BigQuery emulator in the Apache Beam Go SDK by checking for the environment variable BIGQUERY_EMULATOR_HOST. When this variable is set, the BigQuery client is created using option.WithEndpoint(...) and option.WithoutAuthentication(), ensuring that writes and queries performed via bigqueryio.Write and bigqueryio.Query target the emulator rather than the production BigQuery service. This change improves local development and testing scenarios by allowing Beam pipelines to interact with a BigQuery emulator seamlessly. It is backward-compatible with existing setups, as the default behavior remains unchanged if BIGQUERY_EMULATOR_HOST is not defined. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
