[Bug](agg) fix QUANTILE_UNION many problems (#23181)

fix QUANTILE_UNION many problems
This commit is contained in:
Pxl
2023-08-21 10:04:27 +08:00
committed by GitHub
parent 3d980ae248
commit a11e0e3bc4
8 changed files with 16 additions and 16 deletions

View File

@ -269,11 +269,9 @@ public:
}
float percent_arg_value = percent_arg->get_value<Float32>();
if (percent_arg_value < 0 || percent_arg_value > 1) {
std::stringstream ss;
ss << "the input argument of percentage: " << percent_arg_value
<< " is not valid, must be in range [0,1] ";
LOG(WARNING) << ss.str();
return Status::InternalError(ss.str());
return Status::InternalError(
"the input argument of percentage: {} is not valid, must be in range [0,1] ",
percent_arg_value);
}
res.reserve(input_rows_count);