Skip to content

Commit

Permalink
run local tests
Browse files Browse the repository at this point in the history
  • Loading branch information
taytzehao committed Sep 24, 2023
1 parent a819b0b commit 302b6f7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/expr/src/vector_op/jsonb_concat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ use serde_json::{json, Value};
/// [1, 2]
/// ```
#[function("jsonb_cat(jsonb, jsonb) -> jsonb")]
pub fn jsonb_cat(
left: JsonbRef<'_>,
right: JsonbRef<'_>
) -> JsonbVal {
pub fn jsonb_cat(left: JsonbRef<'_>, right: JsonbRef<'_>) -> JsonbVal {
let left_val = left.value().clone();
let right_val = right.value().clone();
match (left_val, right_val) {
Expand Down Expand Up @@ -79,4 +76,3 @@ pub fn jsonb_cat(
(left, right) => JsonbVal::from(json!([left, right])),
}
}

0 comments on commit 302b6f7

Please sign in to comment.