We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b39468d commit faf0df4Copy full SHA for faf0df4
βairflow/providers/google/cloud/example_dags/example_bigquery.py
@@ -20,6 +20,7 @@
20
Example Airflow DAG for Google BigQuery service.
21
"""
22
import os
23
+import time
24
from urllib.parse import urlparse
25
26
from airflow import models
@@ -256,9 +257,9 @@
256
257
update_table = BigQueryUpsertTableOperator(
258
task_id="update_table", dataset_id=DATASET_NAME, table_resource={
259
"tableReference": {
- "tableId": "test-table-id"
260
+ "tableId": "test_table_id"
261
},
- "expirationTime": 12345678
262
+ "expirationTime": (int(time.time()) + 300) * 1000
263
}
264
)
265
0 commit comments