Skip to content

Commit

Permalink
Add randomness to bigquery table name in test_historical_retrieval (f…
Browse files Browse the repository at this point in the history
…east-dev#1711)

Signed-off-by: Felix Wang <wangfelix98@gmail.com>
Signed-off-by: CS <2498638+charliec443@users.noreply.github.com>
  • Loading branch information
felixwang9817 authored and 8bit-pixies committed Jul 16, 2021
1 parent 6ffdca8 commit 21996ce
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 @@ -712,7 +712,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 21996ce

Please sign in to comment.