From daae1f24eeaaa8a462a61c583593a739680fd1ae Mon Sep 17 00:00:00 2001 From: young-hun-jo Date: Fri, 8 Nov 2024 23:03:48 +0900 Subject: [PATCH] feat: add `real`(float32) type for trino offline store --- .../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 79066bbfa4..e43a69f274 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 @@ -74,6 +74,7 @@ def pa_to_trino_value_type(pa_type_as_str: str) -> str: "double": pa.float64(), "binary": pa.binary(), "char": pa.string(), + "real": pa.float32() }