Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix test
Signed-off-by: Nick Quinn <nicholas_quinn@apple.com>
  • Loading branch information
nickquinn408 committed May 7, 2026
commit 63b87321f822d068ce5d9c4c31a422a39828159c
5 changes: 5 additions & 0 deletions sdk/python/feast/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"UNIX_TIMESTAMP": "UNIX_TIMESTAMP",
"MAP": "MAP",
"JSON": "JSON",
"SCALAR_MAP": "SCALAR_MAP",
}


Expand Down Expand Up @@ -93,6 +94,7 @@ class PrimitiveFeastType(Enum):
UUID = 13
TIME_UUID = 14
DECIMAL = 15
SCALAR_MAP = 16

def to_value_type(self) -> ValueType:
"""
Expand Down Expand Up @@ -130,6 +132,7 @@ def __hash__(self):
Uuid = PrimitiveFeastType.UUID
TimeUuid = PrimitiveFeastType.TIME_UUID
Decimal = PrimitiveFeastType.DECIMAL
ScalarMap = PrimitiveFeastType.SCALAR_MAP

SUPPORTED_BASE_TYPES = [
Invalid,
Expand Down Expand Up @@ -167,6 +170,7 @@ def __hash__(self):
"UUID": "Uuid",
"TIME_UUID": "TimeUuid",
"DECIMAL": "Decimal",
"SCALAR_MAP": "ScalarMap",
}


Expand Down Expand Up @@ -346,6 +350,7 @@ def __hash__(self):
ValueType.DECIMAL: Decimal,
ValueType.DECIMAL_LIST: Array(Decimal),
ValueType.DECIMAL_SET: Set(Decimal),
ValueType.SCALAR_MAP: ScalarMap,
}

FEAST_TYPES_TO_PYARROW_TYPES = {
Expand Down
Loading