Skip to content

Commit

Permalink
Wait until job is completed
Browse files Browse the repository at this point in the history
Signed-off-by: Terence <[email protected]>
  • Loading branch information
terryyylim committed Nov 2, 2020
1 parent 34811e7 commit c778ec5
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 c778ec5

Please sign in to comment.