Abacn commented on code in PR #25400:
URL: https://github.com/apache/beam/pull/25400#discussion_r1109131559
##########
website/www/site/content/en/documentation/io/built-in/google-bigquery.md:
##########
@@ -323,6 +323,11 @@ in the following example:
{{< code_sample "sdks/python/apache_beam/examples/snippets/snippets.py"
model_bigqueryio_read_query_std_sql >}}
{{< /highlight >}}
+{{< paragraph class="language-java" >}}
+#### Query execution project
+By default the pipeline executes the query in the Google Cloud project
associated with the pipeline (in case of the Dataflow runner it's the project
where the pipeline runs). There are cases where the query execution project
should be different from the pipeline project. You can define the query
execution project by setting the pipeline option
"[bigQueryProject](https://beam.apache.org/releases/javadoc/current/org/apache/beam/sdk/io/gcp/bigquery/BigQueryOptions.html#getBigQueryProject--)"
to the desired Google Cloud project id.
+{{< /paragraph >}}
+
Review Comment:
Understand. That sounds good to me. This is just a problem of the website
rendering (if a section has only java content marked, it will always show up
even though the current tab is python). Adding "If you use Java SDK," also
clarifies it.
--
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]