Skip to content

Commit

Permalink
Wait until job is completed (#1123)
Browse files Browse the repository at this point in the history
Signed-off-by: Terence <[email protected]>
  • Loading branch information
terryyylim authored Nov 2, 2020
1 parent 85eedf0 commit a357b91
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sdk/python/feast/loaders/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,4 +230,6 @@ def _upload_to_bq_source(
)
job_config.time_partitioning = time_partitioning_obj
with open(dest_path, "rb") as source_file:
bq_client.load_table_from_file(source_file, table, job_config=job_config)
bq_client.load_table_from_file(
source_file, table, job_config=job_config
).result()

0 comments on commit a357b91

Please sign in to comment.