Skip to content

Commit

Permalink
Add randomness to bigquery table name in test_historical_retrieval
Browse files Browse the repository at this point in the history
Signed-off-by: Felix Wang <wangfelix98@gmail.com>
  • Loading branch information
felixwang9817 committed Jul 13, 2021
1 parent 5957da2 commit cf243c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/tests/test_historical_retrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ def test_timestamp_bound_inference_from_entity_df_using_bigquery():
start_date, infer_event_timestamp_col=True
)

table_id = "foo.table_id"
table_id = f"foo.table_id_{int(time.time_ns())}_{random.randint(1000, 9999)}"
stage_orders_bigquery(entity_df, table_id)

client = bigquery.Client()
Expand Down

0 comments on commit cf243c8

Please sign in to comment.