|
40 | 40 | # [START composer_connections_default]
|
41 | 41 | task_default = bigquery_operator.BigQueryOperator(
|
42 | 42 | task_id='task_default_connection',
|
43 |
| - bql='SELECT 1', use_legacy_sql=False) |
| 43 | + sql='SELECT 1', use_legacy_sql=False) |
44 | 44 | # [END composer_connections_default]
|
45 | 45 | # [START composer_connections_explicit]
|
46 | 46 | task_explicit = bigquery_operator.BigQueryOperator(
|
47 | 47 | task_id='task_explicit_connection',
|
48 |
| - bql='SELECT 1', use_legacy_sql=False, |
| 48 | + sql='SELECT 1', use_legacy_sql=False, |
49 | 49 | # Composer creates a 'google_cloud_default' connection by default.
|
50 | 50 | bigquery_conn_id='google_cloud_default')
|
51 | 51 | # [END composer_connections_explicit]
|
52 | 52 | # [START composer_connections_custom]
|
53 | 53 | task_custom = bigquery_operator.BigQueryOperator(
|
54 | 54 | task_id='task_custom_connection',
|
55 |
| - bql='SELECT 1', use_legacy_sql=False, |
| 55 | + sql='SELECT 1', use_legacy_sql=False, |
56 | 56 | # Set a connection ID to use a connection that you have created.
|
57 | 57 | bigquery_conn_id='my_gcp_connection')
|
58 | 58 | # [END composer_connections_custom]
|
0 commit comments