Skip to content

Commit

Permalink
fix: Remove load field & schema column size check (#39833)
Browse files Browse the repository at this point in the history
Related to #39788

---------

Signed-off-by: Congqi Xia <[email protected]>
  • Loading branch information
congqixia authored Feb 18, 2025
1 parent ad72fd9 commit 59881a7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions internal/core/src/segcore/SegmentGrowingImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,6 @@ SegmentGrowingImpl::Insert(int64_t reserved_offset,

void
SegmentGrowingImpl::LoadFieldData(const LoadFieldDataInfo& infos) {
// schema don't include system field
AssertInfo(infos.field_infos.size() == schema_->size(),
"lost some field data when load for growing segment");
AssertInfo(infos.field_infos.find(TimestampFieldID.get()) !=
infos.field_infos.end(),
"timestamps field data should be included");
Expand Down

0 comments on commit 59881a7

Please sign in to comment.