Skip to content

Commit

Permalink
add date type to python_type_to_feast_value_type
Browse files Browse the repository at this point in the history
Signed-off-by: niklasvm <[email protected]>
  • Loading branch information
niklasvm committed Jan 14, 2025
1 parent e01e510 commit 138e5a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/python/feast/type_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@ def python_type_to_feast_value_type(
"datetime64[ns]": ValueType.UNIX_TIMESTAMP,
"datetime64[ns, tz]": ValueType.UNIX_TIMESTAMP, # special dtype of pandas
"datetime64[ns, utc]": ValueType.UNIX_TIMESTAMP,
"date": ValueType.UNIX_TIMESTAMP,
"category": ValueType.STRING,
}

Expand Down

0 comments on commit 138e5a4

Please sign in to comment.