[refactor] Refactoring Status static methods to format message using fmt(#9533)

This commit is contained in:
Tiewei Fang
2022-07-02 18:58:23 +08:00
committed by GitHub
parent 143f519ae2
commit c9f86bc7e2
181 changed files with 983 additions and 1273 deletions

View File

@ -163,7 +163,7 @@ struct ArrayAggregateImpl {
block.replace_by_position(result, std::move(res));
return Status::OK();
} else {
return Status::RuntimeError("Unexpected column for aggregation: " + data->get_name());
return Status::RuntimeError("Unexpected column for aggregation: {}", data->get_name());
}
}