Skip to content

Commit c778ec5

Browse files
committed
Wait until job is completed
Signed-off-by: Terence <terencelimxp@gmail.com>
1 parent 34811e7 commit c778ec5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

sdk/python/feast/loaders/ingest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,4 +230,6 @@ def _upload_to_bq_source(
230230
)
231231
job_config.time_partitioning = time_partitioning_obj
232232
with open(dest_path, "rb") as source_file:
233-
bq_client.load_table_from_file(source_file, table, job_config=job_config)
233+
bq_client.load_table_from_file(
234+
source_file, table, job_config=job_config
235+
).result()

0 commit comments

Comments
 (0)