You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing key error in snowflake_python_type_to_feast_value_type in type_map for numpy datetime64 with timezone #2793
Feast should be able to handle different source column data types when updating feature views with inferred features. Specifically all possible datetime64 python data types with specific timezones should be handled.
Current Behavior
Snowflake python type datetime64[ns, america/los_angeles] does not have a corresponding feast ValueType. There's a ValueType for datetime64[ns] but not a numpy datetime64 with a specific timezone
File "/opt/homebrew/anaconda3/envs/feast-python37/lib/python3.7/site-packages/feast/type_map.py", line 536, in snowflake_python_type_to_feast_value_type
return type_map[snowflake_python_type_as_str.lower()]
KeyError: 'datetime64[ns, america/los_angeles]'
Activity
kevjumba commentedon Jun 15, 2022
Hi @tlam-lyra could you add a pr for a fix to support these types?
sfc-gh-madkins commentedon Aug 15, 2022
@tlam-lyra @kevjumba taking a look.
@tlam-lyra can you tell me what the snowflake datatype is? TIMESTAMP_TZ?
sfc-gh-madkins commentedon Aug 15, 2022
See #3083