Skip to content

Commit 4b91f26

Browse files
authored
fix: Fix milvus online_read (feast-dev#5233)
Signed-off-by: ntkathole <[email protected]>
1 parent 4dd348b commit 4b91f26

File tree

1 file changed

+1
-10
lines changed
  • sdk/python/feast/infra/online_stores/milvus_online_store

1 file changed

+1
-10
lines changed

sdk/python/feast/infra/online_stores/milvus_online_store/milvus.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -412,16 +412,7 @@ def online_read(
412412
"float_list_val",
413413
"double_list_val",
414414
]:
415-
setattr(
416-
val,
417-
proto_attr,
418-
list(
419-
map(
420-
type(getattr(val, proto_attr)).__args__[0],
421-
field_value,
422-
)
423-
),
424-
)
415+
getattr(val, proto_attr).val.extend(field_value)
425416
else:
426417
setattr(val, proto_attr, field_value)
427418
else:

0 commit comments

Comments
 (0)