fix: [2.4] Remove load field & schema column size check (#39834)

Cherry-pick from master
pr: #39833
Related to #39788

---------

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
congqixia 2025-02-13 12:42:53 +08:00 committed by GitHub
parent 4cabc22ca4
commit 0721afb5b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -153,9 +153,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");