Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
Signed-off-by: shaoting-huang <[email protected]>
  • Loading branch information
shaoting-huang committed Feb 14, 2025
1 parent 280ab80 commit 9718911
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion internal/core/src/segcore/packed_reader_c.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ NewPackedReader(char** paths,
needed_columns.emplace(i);
}
auto reader = std::make_unique<milvus_storage::PackedRecordBatchReader>(
*trueFs, truePaths, trueSchema, needed_columns, buffer_size);
trueFs, truePaths, trueSchema, needed_columns, buffer_size);
*c_packed_reader = reader.release();
return milvus::SuccessCStatus();
} catch (std::exception& e) {
Expand Down
2 changes: 1 addition & 1 deletion internal/core/thirdparty/milvus-storage/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# Update milvus-storage_VERSION for the first occurrence
milvus_add_pkg_config("milvus-storage")
set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY INCLUDE_DIRECTORIES "")
set( milvus-storage_VERSION ac656a9 )
set( milvus-storage_VERSION e785c98 )
set( GIT_REPOSITORY "https://github.com/shaoting-huang/milvus-storage.git")
message(STATUS "milvus-storage repo: ${GIT_REPOSITORY}")
message(STATUS "milvus-storage version: ${milvus-storage_VERSION}")
Expand Down
2 changes: 0 additions & 2 deletions internal/storage/serde_events_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@ func NewPackedRecordReader(paths []string, schema *schemapb.CollectionSchema, bu
func NewPackedDeserializeReader(paths []string, schema *schemapb.CollectionSchema,
bufferSize int64, pkFieldID FieldID,
) (*DeserializeReader[*Value], error) {
fmt.Println("create new packed reader")
reader, err := NewPackedRecordReader(paths, schema, bufferSize)
fmt.Println("!!! err: ", err)
if err != nil {
return nil, err
}
Expand Down
5 changes: 3 additions & 2 deletions internal/storage/serde_events_v2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ func TestPackedSerde(t *testing.T) {
group = append(group, i)
}
columnGroups := [][]int{group}

writer, err := NewPackedSerializeWriter(paths, schema, bufferSize, 0, columnGroups, 7)
multiPartUploadSize := int64(0)
batchSize := 7
writer, err := NewPackedSerializeWriter(paths, schema, bufferSize, multiPartUploadSize, columnGroups, batchSize)
assert.NoError(t, err)

for i := 1; i <= size; i++ {
Expand Down

0 comments on commit 9718911

Please sign in to comment.