Skip to content

Commit

Permalink
fix: [2.5] Remove load field & schema column size check #39834 (#39835)
Browse files Browse the repository at this point in the history
Cherry-pick from master
pr: #39833
Related to #39788

---------

Signed-off-by: Congqi Xia <[email protected]>
  • Loading branch information
congqixia authored Feb 13, 2025
1 parent cb1bf6d commit df28d22
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 @@ -182,9 +182,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 df28d22

Please sign in to comment.