[Feature](partial update) Support flexible partial update in stream load with json files#39756
Conversation
|
Thank you for your contribution to Apache Doris. Since 2024-03-18, the Document has been moved to doris-website. |
bd91d77 to
40a5580
Compare
21b47f7 to
edb8bf3
Compare
edb8bf3 to
a82fc76
Compare
001ea2a to
830813c
Compare
830813c to
3e7e9f5
Compare
92da59e to
ccec48f
Compare
ccec48f to
139660e
Compare
|
run buildall |
| return Status::OK(); | ||
| } | ||
|
|
||
| Status VerticalSegmentWriter::_merge_rows_for_sequence_column( |
There was a problem hiding this comment.
warning: function '_merge_rows_for_sequence_column' exceeds recommended size/complexity thresholds [readability-function-size]
Status VerticalSegmentWriter::_merge_rows_for_sequence_column(
^Additional context
be/src/olap/rowset/segment_v2/vertical_segment_writer.cpp:830: 91 lines including whitespace and comments (threshold 80)
Status VerticalSegmentWriter::_merge_rows_for_sequence_column(
^|
TeamCity be ut coverage result: |
|
run cloud_p0 |
…xible partial update and add caseS
|
run buildall |
|
run buildall |
|
TeamCity be ut coverage result: |
|
PR approved by at least one committer and no changes requested. |
|
@dataroaring @zhannngchen hi, is there any plan to release this PR? What risks are involved |
|
@Carl-Zhou-CN the feature will probably be in doris 4.0 |
Thank you very much for your response. I currently need this functionality urgently. If I merge and use it myself, what issues should I be aware of? |
This PR has problems and some them are fixed in #41701. |
Ok. Thank you. |
This PR add the ability to update different columns for each row in one stream load
Doc: apache/doris-website#1140
Example
test1.json:
{"k": 1, "v1": 10} {"k": 2, "v2": 20, "v5": 25} {"k": 3, "v3": 30} {"k": 4, "v4": 20, "v1": 43, "v3": 99} {"k": 5, "v5": null} {"k": 6, "v1": 999, "v3": 777} {"k": 2, "v4": 222} {"k": 1, "v2": 111, "v3": 111}