We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c18eaf commit 1fd106aCopy full SHA for 1fd106a
sdk/python/feast/types.py
@@ -199,8 +199,10 @@ class Set(ComplexFeastType):
199
base_type: Union[PrimitiveFeastType, ComplexFeastType]
200
201
def __init__(self, base_type: Union[PrimitiveFeastType, ComplexFeastType]):
202
- # Sets do not support MAP as a base type
203
- supported_set_types = [t for t in SUPPORTED_BASE_TYPES if t != Map]
+ # Sets do not support MAP, UUID, or TimeUuid as base types
+ supported_set_types = [
204
+ t for t in SUPPORTED_BASE_TYPES if t not in (Map, Uuid, TimeUuid)
205
+ ]
206
if base_type not in supported_set_types:
207
raise ValueError(
208
f"Type {type(base_type)} is currently not supported as a base type for Set."
0 commit comments