Visitar URL original
fix: Remote Online Store Type Inference Error with All-NULL Columns by yuan1j Β· Pull Request #6063 Β· feast-dev/feast Β· GitHub
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
Next Next commit
fix_remote_online_type_error_with_all_null_columns
Signed-off-by: yuanjun220 <1069645408@qq.com>
  • Loading branch information
yuan1j authored and ntkathole committed Apr 7, 2026
commit ec4282c4b8dba26272f29fa664502ebf2e742225
2 changes: 2 additions & 0 deletions sdk/python/feast/type_map.py
Original file line number Diff line number Diff line change
Expand Up @@ -1216,6 +1216,8 @@ def python_values_to_proto_values(
value_type = python_type_to_feast_value_type("", sample)

if value_type == ValueType.UNKNOWN:
if all(v is None for v in values):
return [ProtoValue() for _ in values]
raise TypeError("Couldn't infer value type from empty value")

proto_values = _python_value_to_proto_value(value_type, values)
Comment thread
yuan1j marked this conversation as resolved.
Expand Down
Loading