-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[pick](json-keys) support json_keys function #38631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
|
run buildall |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
| } | ||
| 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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'
#define UNLIKELY(expr) __builtin_expect(!!(expr), 0)
^| dst_arr.insert_default(); | ||
| continue; | ||
| } | ||
| ObjectVal* obj = (ObjectVal*)obj_val; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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; |
|
TeamCity be ut coverage result: |
|
run buildall |
|
TeamCity be ut coverage result: |
Proposed changes
backport: #36411
Issue Number: close #xxx