diff --git a/cpp/src/db/meta/SqliteMetaImpl.cpp b/cpp/src/db/meta/SqliteMetaImpl.cpp index 2806bf63633eb5a218f9798225efa0bf6e483359..a06c391ca5f2c68003313d7fb63413a540e8553c 100644 --- a/cpp/src/db/meta/SqliteMetaImpl.cpp +++ b/cpp/src/db/meta/SqliteMetaImpl.cpp @@ -420,7 +420,7 @@ Status SqliteMetaImpl::DescribeTableIndex(const std::string &table_id, TableInde if (groups.size() == 1) { index.engine_type_ = std::get<0>(groups[0]); index.nlist_ = std::get<1>(groups[0]); - index.metric_type_ = std::get<3>(groups[0]); + index.metric_type_ = std::get<2>(groups[0]); } else { return Status::NotFound("Table " + table_id + " not found"); }