Uh oh!
There was an error while loading. Please reload this page.
[improve](json)improve json support empty keys - #36762
Conversation
doris-robot
commented
Jun 24, 2024
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
clang-tidy review says "All clean, LGTM! 👍" |
amorynan
commented
Jun 24, 2024
run buildall |
doris-robot
commented
Jun 24, 2024
TPC-H: Total hot run time: 40254 ms |
doris-robot
commented
Jun 24, 2024
TPC-DS: Total hot run time: 172016 ms |
doris-robot
commented
Jun 24, 2024
ClickBench: Total hot run time: 30.99 s |
| string_to_json(iter->getKeyStr(), iter->klen()); | ||
| } else { | ||
| os_.write(iter->getKeyId()); | ||
| if (iter->getKeyId() == 0) { |
There was a problem hiding this comment.
is key == 0 special ? if special add comment to explain
There was a problem hiding this comment.
Yes, we do not use keyid before , just use keystr for jsonkey, and se I make keyid == 0 is special for empty key
There was a problem hiding this comment.
maybe use sMaxKeyId for safe and readable, 0 is not too special
| os_->write(key, len); | ||
| size += len; | ||
| if (len == 0) { | ||
| JsonbKeyValue::keyid_type idx = 0; |
clang-tidy review says "All clean, LGTM! 👍" |
amorynan
commented
Jun 25, 2024
run buildall |
doris-robot
commented
Jun 25, 2024
TPC-H: Total hot run time: 40231 ms |
doris-robot
commented
Jun 25, 2024
TPC-DS: Total hot run time: 174148 ms |
doris-robot
commented
Jun 25, 2024
ClickBench: Total hot run time: 31.33 s |
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
amorynan
commented
Jun 27, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Jun 27, 2024
TPC-H: Total hot run time: 40117 ms |
doris-robot
commented
Jun 27, 2024
TPC-DS: Total hot run time: 173351 ms |
doris-robot
commented
Jun 27, 2024
ClickBench: Total hot run time: 30.72 s |
amorynan
commented
Jun 28, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
Uh oh!
There was an error while loading. Please reload this page.
amorynan
commented
Jul 1, 2024
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
doris-robot
commented
Jul 1, 2024
TPC-H: Total hot run time: 39762 ms |
doris-robot
commented
Jul 1, 2024
TPC-DS: Total hot run time: 174348 ms |
doris-robot
commented
Jul 1, 2024
ClickBench: Total hot run time: 30.66 s |
PR approved by at least one committer and no changes requested. |
support empty key for json behavior reference MSYQL
support empty key for json behavior reference MSYQL
Proposed changes
support empty key for json
behavior reference MSYQL
Issue Number: close #xxx