Skip to content

Commit

Permalink
add partitionName field (#1121)
Browse files Browse the repository at this point in the history
Signed-off-by: lentitude2tk <[email protected]>
  • Loading branch information
lentitude2tk authored Oct 18, 2024
1 parent 56ca466 commit 16e1f94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/main/java/io/milvus/v1/BulkWriterExample.java
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ private void callBulkInsert(CollectionSchemaParam collectionSchema, List<List<St
System.out.println("\n===================== import files to milvus ====================");
MilvusImportRequest milvusImportRequest = MilvusImportRequest.builder()
.collectionName(ALL_TYPES_COLLECTION_NAME)
.partitionName("")
.files(batchFiles)
.build();
String bulkImportResult = BulkImport.bulkImport(url, milvusImportRequest);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,6 @@
public class MilvusImportRequest extends BaseImportRequest {
private static final long serialVersionUID = -1958858397962018740L;
private String collectionName;
private String partitionName;
private List<List<String>> files;
}

0 comments on commit 16e1f94

Please sign in to comment.