Skip to content

Commit bebd7be

Browse files
authored
fix: Cant add different type of list types (feast-dev#5118)
fix: added list value types Signed-off-by: Itay Katav <[email protected]>
1 parent 2179fbe commit bebd7be

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

sdk/python/feast/type_map.py

+6
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,12 @@ def pa_to_feast_value_type(pa_type_as_str: str) -> ValueType:
580580
"bool": ValueType.BOOL,
581581
"null": ValueType.NULL,
582582
"list<element: double>": ValueType.DOUBLE_LIST,
583+
"list<element: int64>": ValueType.INT64_LIST,
584+
"list<element: int32>": ValueType.INT32_LIST,
585+
"list<element: str>": ValueType.STRING_LIST,
586+
"list<element: bool>": ValueType.BOOL_LIST,
587+
"list<element: bytes>": ValueType.BYTES_LIST,
588+
"list<element: float>": ValueType.FLOAT_LIST,
583589
}
584590
value_type = type_map[pa_type_as_str]
585591

0 commit comments

Comments
 (0)