Skip to content

Commit a357b91

Browse files
authored
Wait until job is completed (feast-dev#1123)
Signed-off-by: Terence <terencelimxp@gmail.com>
1 parent 85eedf0 commit a357b91

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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)