Uh oh!
There was an error while loading. Please reload this page.
(Enhancement)[load-json] support simdjson in new json reader - #16903
Conversation
be config: enable_simdjson_reader=true related PR apache#11665
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
TeamCity pipeline, clickbench performance test result: |
clang-tidy review says "All clean, LGTM! 👍" |
1 similar comment
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
Uh oh!
There was an error while loading. Please reload this page.
| fmt::format("failed to access field as array, field: {}", col)); | ||
| HANDLE_SIMDJSON_ERROR( | ||
| arr.at(index).get(tvalue), |
There was a problem hiding this comment.
Can simdjson properly process index == -2, which means * ?
There was a problem hiding this comment.
no index == -2 is not supported in this function for now
| if (UNLIKELY(_err)) { \ | ||
| if (_err == simdjson::NO_SUCH_FIELD || _err == simdjson::INDEX_OUT_OF_BOUNDS) { \ | ||
| return Status::NotFound( \ | ||
| fmt::format("err: {}, msg: {}", simdjson::error_message(_err), _msg)); \ |
There was a problem hiding this comment.
what's the meaning of err: to simdjson err:?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| fmt::format("failed to access field as array, field: {}", col)); | ||
| HANDLE_SIMDJSON_ERROR( | ||
| arr.at(index).get(tvalue), |
There was a problem hiding this comment.
no index == -2 is not supported in this function for now
| if (UNLIKELY(_err)) { \ | ||
| if (_err == simdjson::NO_SUCH_FIELD || _err == simdjson::INDEX_OUT_OF_BOUNDS) { \ | ||
| return Status::NotFound( \ | ||
| fmt::format("err: {}, msg: {}", simdjson::error_message(_err), _msg)); \ |
There was a problem hiding this comment.
what's the meaning of err: to simdjson err:?
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
clang-tidy review says "All clean, LGTM! 👍" |
eldenmoon
commented
Feb 20, 2023
run buildall |
eldenmoon
commented
Feb 20, 2023
run p0 |
Uh oh!
There was an error while loading. Please reload this page.
| fmt::format("failed to access field as array, field: {}", col)); | ||
| HANDLE_SIMDJSON_ERROR( | ||
| arr.at(index).get(tvalue), |
PR approved by anyone and no changes requested. |
clang-tidy review says "All clean, LGTM! 👍" |
clang-tidy review says "All clean, LGTM! 👍" |
eldenmoon
commented
Feb 20, 2023
run buildall |
clang-tidy review says "All clean, LGTM! 👍" |
PR approved by at least one committer and no changes requested. |
WinkerDu
commented
Feb 24, 2023
@eldenmoon This patch would cause BE compile error on MacOS with clang below |
…16903) be config: enable_simdjson_reader=true related PR apache#11665
* (Enhancement)[load-json] support simdjson in new json reader (apache#16903) be config: enable_simdjson_reader=true related PR apache#11665 * [Optimize](simd json reader) Cached search results for previous row (keyed as index in JSON object) - used as a hint. (apache#17124) * [Optimize](simd json reader) Cached search results for previous row (keyed as index in JSON object) - used as a hint. `_simdjson_set_column_value` could become a hot spot while parsing json in simdjson mode, introduce `_prev_positions` to cache results for previous row (keyed as index in JSON object) due to the json name field order, should be quite the same between each lines * fix case
… (apache#1445) * (Enhancement)[load-json] support simdjson in new json reader (apache#16903) be config: enable_simdjson_reader=true related PR apache#11665 * [Optimize](simd json reader) Cached search results for previous row (keyed as index in JSON object) - used as a hint. (apache#17124) * [Optimize](simd json reader) Cached search results for previous row (keyed as index in JSON object) - used as a hint. `_simdjson_set_column_value` could become a hot spot while parsing json in simdjson mode, introduce `_prev_positions` to cache results for previous row (keyed as index in JSON object) due to the json name field order, should be quite the same between each lines * fix case
Proposed changes
be config:
enable_simdjson_reader=true
related PR #11665
related isue #11663
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)
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...