From 5ace300f10a4159f4b65421dc04bb6fe451a8c96 Mon Sep 17 00:00:00 2001 From: Shuchang Zheng Date: Tue, 31 Oct 2023 23:15:11 +0800 Subject: [PATCH] revert feast teardown --- wyvern/feature_store/feature_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wyvern/feature_store/feature_server.py b/wyvern/feature_store/feature_server.py index 14dbeb8..5c6af6f 100644 --- a/wyvern/feature_store/feature_server.py +++ b/wyvern/feature_store/feature_server.py @@ -495,7 +495,7 @@ async def get_historical_features_v2( # ) # Generate a 10-digit hex for the request - hex_id = secrets.token_hex(5) + random_id = secrets.token_hex(5) # convert the data input to pandas dataframe realtime_features, feast_features = separate_real_time_features(data.features) @@ -538,7 +538,7 @@ async def get_historical_features_v2( for entity_type_column, entities in composite_entities.items() ], ) - composite_historical_feature_table = f"HISTORICAL_FEATURES_{hex_id}" + composite_historical_feature_table = f"HISTORICAL_FEATURES_{random_id}" # TODO: send this sql to snowflake to create temporary table with this select_sql query select_sql = f"""