diff --git a/src/main/java/io/milvus/v2/utils/SchemaUtils.java b/src/main/java/io/milvus/v2/utils/SchemaUtils.java index 04f06c119..58bd37bbe 100644 --- a/src/main/java/io/milvus/v2/utils/SchemaUtils.java +++ b/src/main/java/io/milvus/v2/utils/SchemaUtils.java @@ -71,6 +71,7 @@ public static CreateCollectionReq.CollectionSchema convertFromGrpcCollectionSche private static CreateCollectionReq.FieldSchema convertFromGrpcFieldSchema(FieldSchema fieldSchema) { CreateCollectionReq.FieldSchema schema = CreateCollectionReq.FieldSchema.builder() .name(fieldSchema.getName()) + .description(fieldSchema.getDescription()) .dataType(io.milvus.v2.common.DataType.valueOf(fieldSchema.getDataType().name())) .isPrimaryKey(fieldSchema.getIsPrimaryKey()) .autoID(fieldSchema.getAutoID())