Abacn commented on code in PR #25400:
URL: https://github.com/apache/beam/pull/25400#discussion_r1107726259
##########
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
Review Comment:
```suggestion
#### Query execution project
{{< paragraph class="language-java" >}}
```
##########
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:
How about this? Looks like the Python/Java Tab does not support adapting
whole (sub)section. Currently even switched to Python Tab this paragraph is
still shown.

##########
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:
```suggestion
{{< paragraph class="language-python" >}}
The SDK for Python does not support the query execution project option.
{{< /paragraph >}}
```
--
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]