From d6bff5051ea86dbc529b66df33016fb04054b62a Mon Sep 17 00:00:00 2001 From: Mohammad Hijjawi Date: Sat, 17 Oct 2026 23:28:52 +0100 Subject: [PATCH] fix: Serialize UUID and TimeUuid entity keys An entity whose join key is a Uuid or TimeUuid could be applied, but materializing it failed in serialize_entity_key with "Value type not supported for feast feature store", so its features never reached the online store and could not be served. Encode uuid_val and time_uuid_val as their UTF-8 string with the UUID and TIME_UUID value type tags, and decode them back in deserialize_entity_key. Signed-off-by: Mohammad Hijjawi --- sdk/python/feast/infra/key_encoding_utils.py | 8 ++++ .../unit/infra/test_key_encoding_utils.py | 40 +++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/sdk/python/feast/infra/key_encoding_utils.py b/sdk/python/feast/infra/key_encoding_utils.py index 10a9934ad6a..6378a12d434 100644 --- a/sdk/python/feast/infra/key_encoding_utils.py +++ b/sdk/python/feast/infra/key_encoding_utils.py @@ -24,6 +24,10 @@ def _serialize_val( return struct.pack(" ValueProto: elif value_type == ValueType.UNIX_TIMESTAMP: value = struct.unpack("