提交 e037b64d 编写于 作者: P peng.xu

Merge branch 'branch-0.5.0' into 'branch-0.5.0'

fix build error

See merge request megasearch/milvus!710

Former-commit-id: c82064b29a0d7576322b876e0d72ef412cee4370
......@@ -41,11 +41,6 @@ using DateT = int;
const DateT EmptyDate = -1;
using DatesT = std::vector<DateT>;
struct DateRange {
DateT start_date_ = 0x1 << 32;
DateT end_date_ = 0;
};
struct TableSchema {
typedef enum {
NORMAL,
......
......@@ -256,8 +256,14 @@ void
IVFSQHybrid::UnsetQuantizer() {
}
void
VectorIndexPtr
IVFSQHybrid::LoadData(const knowhere::QuantizerPtr& q, const Config& conf) {
return nullptr;
}
std::pair<VectorIndexPtr, QuantizerPtr>
IVFSQHybrid::CopyCpuToGpuWithQuantizer(const int64_t& device_id, const Config& config) {
KNOWHERE_THROW_MSG("Not yet implemented");
}
IndexModelPtr
......
......@@ -423,8 +423,8 @@ InsertTask::OnExecute() {
return Status(SERVER_INVALID_ROWRECORD_ARRAY, "Row record array is empty");
}
if (!record_ids_->vector_id_array().empty()) {
if (record_ids_->vector_id_array().size() != insert_param_->row_record_array_size()) {
if (!insert_param_->row_id_array().empty()) {
if (insert_param_->row_id_array().size() != insert_param_->row_record_array_size()) {
return Status(SERVER_ILLEGAL_VECTOR_ID, "Size of vector ids is not equal to row record array size");
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册