Skip to content

Commit 531e839

Browse files
soliverrntkathole
authored andcommitted
fix: Adds mapping of date Trino's type into string Feast's type
Signed-off-by: Sergey Kryazhevskikh <soliverr@gmail.com>
1 parent 0f77135 commit 531e839

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sdk/python/feast/infra/offline_stores/contrib/trino_offline_store/trino_type_map.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ def trino_to_feast_value_type(trino_type_as_str: str) -> ValueType:
2121
"varchar": ValueType.STRING,
2222
"boolean": ValueType.BOOL,
2323
"real": ValueType.FLOAT,
24+
"date": ValueType.STRING,
2425
}
2526
_trino_type_as_str: str = trino_type_as_str
2627
trino_type_as_str = trino_type_as_str.lower()

0 commit comments

Comments
 (0)