Uh oh!
There was an error while loading. Please reload this page.
[Feature](json_functions) support json-keys - #36411
Conversation
doris-robot
commented
Jun 17, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
| } | ||
| const char* l_raw = reinterpret_cast<const char*>(&ldata[l_off]); | ||
| JsonbDocument* doc = JsonbDocument::createDocument(l_raw, l_size); | ||
| if (UNLIKELY(!doc || !doc->getValue())) { |
There was a problem hiding this comment.
warning: boolean expression can be simplified by DeMorgan's theorem [readability-simplify-boolean-expr]
if (UNLIKELY(!doc || !doc->getValue())) {
^Additional context
be/src/common/compiler_util.h:35: expanded from macro 'UNLIKELY'
#defineUNLIKELY(expr) __builtin_expect(!!(expr), 0)
^| dst_arr.insert_default(); | ||
| continue; | ||
| } | ||
| ObjectVal* obj = (ObjectVal*)obj_val; |
There was a problem hiding this comment.
warning: use auto when initializing with a cast to avoid duplicating the type name [modernize-use-auto]
| ObjectVal* obj = (ObjectVal*)obj_val; | |
| auto* obj = (ObjectVal*)obj_val; |
PR approved by at least one committer and no changes requested. |
PR approved by anyone and no changes requested. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
amorynan
commented
Jun 20, 2024
run buildall |
doris-robot
commented
Jun 20, 2024
TPC-H: Total hot run time: 39870 ms |
doris-robot
commented
Jun 20, 2024
TeamCity be ut coverage result: |
doris-robot
commented
Jun 20, 2024
TPC-DS: Total hot run time: 168698 ms |
doris-robot
commented
Jun 20, 2024
ClickBench: Total hot run time: 30.33 s |
| scalar(JsonKeys.class, "json_keys"), | ||
| scalar(JsonKeys.class, "jsonb_keys"), |
There was a problem hiding this comment.
| scalar(JsonKeys.class, "json_keys"), | |
| scalar(JsonKeys.class, "jsonb_keys"), | |
| scalar(JsonKeys.class, "json_keys", "jsonb_keys"), |
Uh oh!
There was an error while loading. Please reload this page.
amorynan
commented
Jun 21, 2024
run buildall |
doris-robot
commented
Jun 21, 2024
TPC-H: Total hot run time: 40655 ms |
doris-robot
commented
Jun 21, 2024
TeamCity be ut coverage result: |
doris-robot
commented
Jun 21, 2024
TPC-DS: Total hot run time: 170389 ms |
doris-robot
commented
Jun 21, 2024
ClickBench: Total hot run time: 30.83 s |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
PR approved by at least one committer and no changes requested. |
amorynan
commented
Jun 25, 2024
run buildall |
doris-robot
commented
Jun 25, 2024
TPC-H: Total hot run time: 40107 ms |
doris-robot
commented
Jun 25, 2024
TPC-DS: Total hot run time: 172664 ms |
doris-robot
commented
Jun 25, 2024
ClickBench: Total hot run time: 31.06 s |
PR approved by at least one committer and no changes requested. |
support json_keys sql reference MYSQL: https://dev.mysql.com/doc/refman/8.0/en/json-search-functions.html#function_json-keys
## Proposed changes backport: #36411 Issue Number: close #xxx <!--Describe your changes.-->
support json_keys sql reference MYSQL: https://dev.mysql.com/doc/refman/8.0/en/json-search-functions.html#function_json-keys
Proposed changes
support json_keys
sql reference MYSQL: https://dev.mysql.com/doc/refman/8.0/en/json-search-functions.html#function_json-keys
Issue Number: close #xxx