Uh oh!
There was an error while loading. Please reload this page.
[feature](json-function) add json_insert, json_replace, json_set functions - #24384
Conversation
clang-tidy review says "All clean, LGTM! 👍" |
xuefengze
commented
Sep 14, 2023
run buildall |
doris-robot
commented
Sep 14, 2023
TeamCity be ut coverage result: |
doris-robot
commented
Sep 14, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
xuefengze
commented
Sep 15, 2023
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Sep 15, 2023
TeamCity be ut coverage result: |
doris-robot
commented
Sep 15, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
clang-tidy review says "All clean, LGTM! 👍" |
xuefengze
commented
Sep 15, 2023
run buildall |
doris-robot
commented
Sep 15, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
doris-robot
commented
Sep 15, 2023
TeamCity be ut coverage result: |
xuefengze
commented
Sep 15, 2023
run p0 |
| struct FunctionJsonInsert { | ||
| static constexpr auto name = "json_insert"; | ||
| static constexpr auto is_insert = true; |
There was a problem hiding this comment.
why not use enum? boolean value is not intuitive
| auto tok = get_json_token(path_string); | ||
| #endif | ||
| std::vector<std::string> paths(tok.begin(), tok.end()); | ||
| auto status = get_parsed_paths_with_status(paths, &parsed_paths); |
There was a problem hiding this comment.
why not use macro RETURN_IF_ERROR?
| std::vector<std::vector<std::vector<JsonPath>>> json_paths; | ||
| auto status = get_parsed_path_columns(json_paths, data_columns, input_rows_count); | ||
| if (UNLIKELY(status != Status::OK())) { |
clang-tidy review says "All clean, LGTM! 👍" |
xuefengze
commented
Sep 16, 2023
run buildall |
doris-robot
commented
Sep 16, 2023
TeamCity be ut coverage result: |
doris-robot
commented
Sep 16, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
xuefengze
commented
Sep 16, 2023
run p0 |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
xuefengze
commented
Sep 18, 2023
run buildall |
doris-robot
commented
Sep 18, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
doris-robot
commented
Sep 18, 2023
TeamCity be ut coverage result: |
xuefengze
commented
Sep 18, 2023
run p0 |
1 similar comment
xuefengze
commented
Sep 18, 2023
run p0 |
PR approved by at least one committer and no changes requested. |
yiguolei
commented
Sep 22, 2023
@xuefengze Hi, the code is conflict. Could you please resolve conflicts? |
yiguolei
commented
Sep 22, 2023
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
yiguolei
commented
Sep 22, 2023
I have resolve the conflict and rebuild all |
doris-robot
commented
Sep 22, 2023
(From new machine)TeamCity pipeline, clickbench performance test result: |
doris-robot
commented
Sep 22, 2023
TeamCity be ut coverage result: |
PR approved by at least one committer and no changes requested. |
…tions (apache#24384) [feature](json-function) add three json funcitons
…tions (#24384) [feature](json-function) add three json funcitons
Proposed changes
Issue Number: close#21268
add json_insert, json_replace, json_set functions
Further comments
If this is a relatively large or complex change, kick off the discussion at dev@doris.apache.org by explaining why you chose the solution you did and what alternatives you considered, etc...