From cb35a8e9486d89f0533c64cb3374b88d4072359c Mon Sep 17 00:00:00 2001 From: Runji Wang Date: Wed, 1 Nov 2023 17:20:28 +0800 Subject: [PATCH] fix slt Signed-off-by: Runji Wang --- src/expr/impl/src/scalar/jsonb_build.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/expr/impl/src/scalar/jsonb_build.rs b/src/expr/impl/src/scalar/jsonb_build.rs index dc81278dbead2..5171cbfdb068a 100644 --- a/src/expr/impl/src/scalar/jsonb_build.rs +++ b/src/expr/impl/src/scalar/jsonb_build.rs @@ -47,9 +47,9 @@ fn jsonb_build_array(args: impl Row) -> Result { /// /// ```slt /// query T -/// select jsonb_build_object('foo', 1, 2, row(3,'bar')); +/// select jsonb_build_object('foo', 1, 2, 'bar'); /// ---- -/// {"foo": 1, "2": {"f1": 3, "f2": "bar"}} +/// {"foo": 1, "2": "bar"} /// ``` #[function("jsonb_build_object(...) -> jsonb")] fn jsonb_build_object(args: impl Row) -> Result {