From 7583164d6f0a07f48910668c95d348528a0df25f Mon Sep 17 00:00:00 2001 From: Sergey Kryazhevskikh Date: Mon, 9 Feb 2026 15:10:09 +0100 Subject: [PATCH 1/3] fix: Adds mapping of date Trino's type into string Feast's type Signed-off-by: Sergey Kryazhevskikh --- .../offline_stores/contrib/trino_offline_store/trino_type_map.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/python/feast/infra/offline_stores/contrib/trino_offline_store/trino_type_map.py b/sdk/python/feast/infra/offline_stores/contrib/trino_offline_store/trino_type_map.py index 8d21f9a6ac5..e5afa3f3ab3 100644 --- a/sdk/python/feast/infra/offline_stores/contrib/trino_offline_store/trino_type_map.py +++ b/sdk/python/feast/infra/offline_stores/contrib/trino_offline_store/trino_type_map.py @@ -21,6 +21,7 @@ def trino_to_feast_value_type(trino_type_as_str: str) -> ValueType: "varchar": ValueType.STRING, "boolean": ValueType.BOOL, "real": ValueType.FLOAT, + "date": ValueType.STRING, } _trino_type_as_str: str = trino_type_as_str trino_type_as_str = trino_type_as_str.lower() From 4370179a78ca2b7a1a1165ee65a77792d559a08c Mon Sep 17 00:00:00 2001 From: Sergey Kryazhevskikh Date: Mon, 9 Feb 2026 15:10:09 +0100 Subject: [PATCH 2/3] fix: Adds mapping of date Trino's type into string Feast's type Signed-off-by: Sergey Kryazhevskikh --- .../offline_stores/contrib/trino_offline_store/trino_type_map.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sdk/python/feast/infra/offline_stores/contrib/trino_offline_store/trino_type_map.py b/sdk/python/feast/infra/offline_stores/contrib/trino_offline_store/trino_type_map.py index 8d21f9a6ac5..e5afa3f3ab3 100644 --- a/sdk/python/feast/infra/offline_stores/contrib/trino_offline_store/trino_type_map.py +++ b/sdk/python/feast/infra/offline_stores/contrib/trino_offline_store/trino_type_map.py @@ -21,6 +21,7 @@ def trino_to_feast_value_type(trino_type_as_str: str) -> ValueType: "varchar": ValueType.STRING, "boolean": ValueType.BOOL, "real": ValueType.FLOAT, + "date": ValueType.STRING, } _trino_type_as_str: str = trino_type_as_str trino_type_as_str = trino_type_as_str.lower() From a4746cfd77b328a1edfaa17550987e2d35c4bbc3 Mon Sep 17 00:00:00 2001 From: Sergey Kryazhevskikh Date: Thu, 19 Feb 2026 17:47:45 +0100 Subject: [PATCH 3/3] fix: Fixes a `PydanticDeprecatedSince20` warning for trino_offline_store Signed-off-by: Sergey Kryazhevskikh --- .../infra/offline_stores/contrib/trino_offline_store/trino.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/python/feast/infra/offline_stores/contrib/trino_offline_store/trino.py b/sdk/python/feast/infra/offline_stores/contrib/trino_offline_store/trino.py index 62f94f54073..33190bd4635 100644 --- a/sdk/python/feast/infra/offline_stores/contrib/trino_offline_store/trino.py +++ b/sdk/python/feast/infra/offline_stores/contrib/trino_offline_store/trino.py @@ -116,7 +116,7 @@ def to_trino_auth(self): model_cls = CLASSES_BY_AUTH_TYPE[auth_type]["auth_model"] model = model_cls(**self.config) - return trino_auth_cls(**model.dict()) + return trino_auth_cls(**model.model_dump()) class TrinoOfflineStoreConfig(FeastConfigBaseModel):