[branch-4.0](serde) fix split_by_delimiter missing backslash escape handling (#61995)#64438
[branch-4.0](serde) fix split_by_delimiter missing backslash escape handling (#61995)#64438csun5285 wants to merge 1 commit into
Conversation
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
|
run buildall |
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
1 similar comment
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
2 similar comments
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
…apache#61995) Manual backport of apache#61995 to branch-4.0. The serde util still lives under be/src/vec/data_types/serde/ on this branch (namespace doris::vectorized), so the core fix and the new UT are applied at the vec/ paths and the test's added include points to vec/data_types/serde/complex_type_deserialize_util.h. The core change, the UT body, and the jsonb regression data are unchanged. ### Bug Stream Load (JSON format) writing to Map<String, String> columns silently sets the column to NULL when the map value contains both \" (escaped quotes) and : or ,. Stream Load returns Success with FilteredRows=0 — data loss with no error indication. ### Fix Added \ escape skip in split_by_delimiter's character loop, before quote detection — consistent with the existing escape handling in deserialize_one_cell_from_json. (cherry picked from commit 0c9fff3) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
e8ed9e4 to
5a5d9b7
Compare
|
run buildall |
|
PR approved by at least one committer and no changes requested. |
|
PR approved by anyone and no changes requested. |
BE Regression && UT Coverage ReportIncrement line coverage Increment coverage report
|
cherry picked from (#61995)