[refactor] Refactoring Status static methods to format message using fmt(#9533)
This commit is contained in:
@ -56,8 +56,8 @@ Status VCaseExpr::prepare(doris::RuntimeState* state, const doris::RowDescriptor
|
||||
_function = SimpleFunctionFactory::instance().get_function(_function_name, argument_template,
|
||||
_data_type);
|
||||
if (_function == nullptr) {
|
||||
return Status::NotSupported(
|
||||
fmt::format("vcase_expr Function {} is not implemented", _fn.name.function_name));
|
||||
return Status::NotSupported("vcase_expr Function {} is not implemented",
|
||||
_fn.name.function_name);
|
||||
}
|
||||
|
||||
VExpr::register_function_context(state, context);
|
||||
|
||||
Reference in New Issue
Block a user