mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-01-08 14:22:58 +00:00
fix: error in admin function is not formatted properly (#4820)
Signed-off-by: Ruihang Xia <waynestxia@gmail.com>
This commit is contained in:
@@ -59,7 +59,7 @@ impl StatementExecutor {
|
||||
.map(|arg| {
|
||||
let FunctionArg::Unnamed(FunctionArgExpr::Expr(Expr::Value(value))) = arg else {
|
||||
return error::BuildAdminFunctionArgsSnafu {
|
||||
msg: "unsupported function arg {arg}",
|
||||
msg: format!("unsupported function arg {arg}"),
|
||||
}
|
||||
.fail();
|
||||
};
|
||||
@@ -200,7 +200,7 @@ fn values_to_vectors_by_valid_types(
|
||||
}
|
||||
|
||||
error::BuildAdminFunctionArgsSnafu {
|
||||
msg: "failed to cast {value}",
|
||||
msg: format!("failed to cast {value}"),
|
||||
}
|
||||
.fail()
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user