Skip to content

Commit a48a39e

Browse files
committed
fix: Fix milvus online_read
Signed-off-by: ntkathole <nikhilkathole2683@gmail.com>
1 parent f14ca5f commit a48a39e

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)