Skip to content

Commit 46438fb

Browse files
authored
Remove rewind param (#56)
1 parent 6f8cd1d commit 46438fb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ def load_processed_files_into_bigquery(event, context):
154154
job_id_prefix="linehaul_file_downloads",
155155
location="US",
156156
job_config=job_config,
157-
rewind=True,
158157
)
159158
load_job.result()
160159
print(f"Loaded {load_job.output_rows} rows into {DATASET}:{DOWNLOAD_TABLE}")
@@ -163,10 +162,9 @@ def load_processed_files_into_bigquery(event, context):
163162
load_job = bigquery_client.load_table_from_uri(
164163
simple_source_uris,
165164
dataset_ref.table(SIMPLE_TABLE),
166-
job_id_prefix="linehaul_file_downloads",
165+
job_id_prefix="linehaul_simple_requests",
167166
location="US",
168167
job_config=job_config,
169-
rewind=True,
170168
)
171169
load_job.result()
172170
print(f"Loaded {load_job.output_rows} rows into {DATASET}:{SIMPLE_TABLE}")

0 commit comments

Comments
 (0)