Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add to_table() in integration tests
Signed-off-by: Matt Delacour <matt.delacour@shopify.com>
  • Loading branch information
Matt Delacour committed Jun 29, 2021
commit c378307c384f1e0ecec39f768329411e7ec19be7
9 changes: 9 additions & 0 deletions sdk/python/tests/test_historical_retrieval.py
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,11 @@ def test_historical_features_from_bigquery_sources(
check_dtype=False,
)

table_from_sql_entities = job_from_sql.to_table()
assert_frame_equal(
actual_df_from_sql_entities, table_from_sql_entities.to_pandas()
)

timestamp_column = (
"e_ts"
if infer_event_timestamp_col
Expand Down Expand Up @@ -541,3 +546,7 @@ def test_historical_features_from_bigquery_sources(
.reset_index(drop=True),
check_dtype=False,
)
table_from_df_entities = job_from_df.to_table()
assert_frame_equal(
actual_df_from_df_entities, table_from_df_entities.to_pandas()
)