Skip to content

Commit

Permalink
feat: Use string as a substitute for unregistered types during schema…
Browse files Browse the repository at this point in the history
… inference (feast-dev#3646)

Signed-off-by: phil.park <[email protected]>
  • Loading branch information
phil-park committed Jun 6, 2023
1 parent 4de7faf commit c474ccd
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 @@ -538,7 +538,8 @@ def bq_to_feast_value_type(bq_type_as_str: str) -> ValueType:
"NULL": ValueType.NULL,
}

value_type = type_map[bq_type_as_str]
value_type = type_map.get(bq_type_as_str, ValueType.STRING)

if is_list:
value_type = ValueType[value_type.name + "_LIST"]

Expand Down

0 comments on commit c474ccd

Please sign in to comment.