Implicitly using the default Airflow connection

Run a task without setting the Airflow connection. The default connection will be used.

Documentation pages that include this code sample

To view the code sample used in context, see the following documentation:

Code sample


task_default = bigquery_operator.BigQueryOperator(
    sql='SELECT 1', use_legacy_sql=False)

What's next

To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser