allow empty partition name

This commit is contained in:
groot 2019-11-15 16:18:34 +08:00
parent 33b31b3d49
commit d93182a209

View File

@ -305,6 +305,10 @@ DBImpl::InsertVectors(const std::string& table_id, const std::string& partition_
if (!partition_tag.empty()) {
std::string partition_name;
status = meta_ptr_->GetPartitionName(table_id, partition_tag, target_table_name);
if (!status.ok()) {
ENGINE_LOG_ERROR << status.message();
return status;
}
}
// insert vectors into target table