corgy-w commented on code in PR #7401:
URL: https://github.com/apache/seatunnel/pull/7401#discussion_r1721570110
##########
seatunnel-connectors-v2/connector-milvus/src/main/java/org/apache/seatunnel/connectors/seatunnel/milvus/convert/MilvusConvertUtils.java:
##########
@@ -320,6 +325,13 @@ public static Object
convertBySeaTunnelType(SeaTunnelDataType<?> fieldType, Obje
vector.add(Float.parseFloat(o.toString()));
}
return vector;
+ case BINARY_VECTOR:
+ case BFLOAT16_VECTOR:
+ case FLOAT16_VECTOR:
+ ByteBuffer binaryVector = (ByteBuffer) value;
+ return gson.toJsonTree(binaryVector.array());
Review Comment:
milvus client need gson,do need jackson before insert/update?

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]