Skip to content

Commit

Permalink
fix: Fixed data mapping errors for Snowflake (#2558)
Browse files Browse the repository at this point in the history
* fixed data mapping errors

Signed-off-by: Miles Adkins <miles.adkins@snowflake.com>

* fixed data mapping errors

Signed-off-by: Miles Adkins <miles.adkins@snowflake.com>
  • Loading branch information
sfc-gh-madkins authored and adchia committed Apr 20, 2022
1 parent c47fa2a commit abd6be7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sdk/python/feast/type_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,8 @@ def snowflake_python_type_to_feast_value_type(
"uint8": ValueType.INT32,
"int8": ValueType.INT32,
"datetime64[ns]": ValueType.UNIX_TIMESTAMP,
"object": ValueType.UNKNOWN,
"object": ValueType.STRING,
"bool": ValueType.BOOL,
}

return type_map[snowflake_python_type_as_str.lower()]
Expand Down

0 comments on commit abd6be7

Please sign in to comment.