mirror of https://github.com/milvus-io/milvus.git
modify DescribeIndex bug
Former-commit-id: 284bf1fc830ace11385fc96790eb9d525541295epull/191/head
parent
f44b007cc8
commit
c8b31c16a6
|
@ -421,7 +421,7 @@ Status SqliteMetaImpl::DescribeTableIndex(const std::string &table_id, TableInde
|
||||||
if (groups.size() == 1) {
|
if (groups.size() == 1) {
|
||||||
index.engine_type_ = std::get<0>(groups[0]);
|
index.engine_type_ = std::get<0>(groups[0]);
|
||||||
index.nlist_ = std::get<1>(groups[0]);
|
index.nlist_ = std::get<1>(groups[0]);
|
||||||
index.metric_type_ = std::get<2>(groups[0]);
|
index.metric_type_ = std::get<3>(groups[0]);
|
||||||
} else {
|
} else {
|
||||||
return Status::NotFound("Table " + table_id + " not found");
|
return Status::NotFound("Table " + table_id + " not found");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue