mirror of https://github.com/milvus-io/milvus.git
feat(db): add where condition in files_to_merege
Former-commit-id: df201faf70298a074ac794fb4e4964b6b2426a69pull/191/head
parent
44f5d3e7eb
commit
8d5ef3fb27
|
@ -205,9 +205,9 @@ Status DBMetaImpl::files_to_merge(const std::string& group_id,
|
|||
&GroupFileSchema::file_id,
|
||||
&GroupFileSchema::file_type,
|
||||
&GroupFileSchema::rows,
|
||||
&GroupFileSchema::date));
|
||||
/* where(is_equal(&GroupFileSchema::file_type, GroupFileSchema::RAW) && */
|
||||
/* is_equal(&GroupFileSchema::group_id, group_id))); */
|
||||
&GroupFileSchema::date),
|
||||
where(c(&GroupFileSchema::file_type) == (int)GroupFileSchema::RAW and
|
||||
c(&GroupFileSchema::group_id) == group_id));
|
||||
|
||||
GroupSchema group_info;
|
||||
group_info.group_id = group_id;
|
||||
|
|
Loading…
Reference in New Issue