turbaszek commented on a change in pull request #8868:
URL: https://github.com/apache/airflow/pull/8868#discussion_r432936839
##########
File path: docs/howto/operator/gcp/bigquery.rst
##########
@@ -255,32 +255,18 @@ Let's say you would like to execute the following query.
:end-before: [END howto_operator_bigquery_query]
To execute the SQL query in a specific BigQuery database you can use
-:class:`~airflow.providers.google.cloud.operators.bigquery.BigQueryExecuteQueryOperator`.
+:class:`~airflow.providers.google.cloud.operators.bigquery.BigQueryInsertJobOperator`
with
+proper query job configuration.
.. exampleinclude::
../../../../airflow/providers/google/cloud/example_dags/example_bigquery_queries.py
:language: python
:dedent: 4
- :start-after: [START howto_operator_bigquery_execute_query]
- :end-before: [END howto_operator_bigquery_execute_query]
-
-``sql`` argument can receive a str representing a sql statement, a list of str
-(sql statements), or reference to a template file. Template reference are
recognized
-by str ending in '.sql'.
+ :start-after: [START howto_operator_bigquery_insert_job]
+ :end-before: [END howto_operator_bigquery_insert_job]
Review comment:
Sure, added 👌
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]