Skip to content

branch-4.1: [fix](serde) fix split_by_delimiter missing backslash escape handling #61995#64432

Open
github-actions[bot] wants to merge 1 commit into
branch-4.1from
auto-pick-61995-branch-4.1
Open

branch-4.1: [fix](serde) fix split_by_delimiter missing backslash escape handling #61995#64432
github-actions[bot] wants to merge 1 commit into
branch-4.1from
auto-pick-61995-branch-4.1

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Cherry-picked from #61995

…#61995)

### 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`.
@github-actions github-actions Bot requested a review from yiguolei as a code owner June 11, 2026 13:40
@hello-stephen

Copy link
Copy Markdown
Contributor

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.

Please clearly describe your PR:

  1. What problem was fixed (it's best to include specific error reporting information). How it was fixed.
  2. Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
  3. What features were added. Why was this function added?
  4. Which code was refactored and why was this part of the code refactored?
  5. Which functions were optimized and what is the difference before and after the optimization?

@hello-stephen

Copy link
Copy Markdown
Contributor

run buildall

@hello-stephen

Copy link
Copy Markdown
Contributor

BE Regression && UT Coverage Report

Increment line coverage 100.00% (3/3) 🎉

Increment coverage report
Complete coverage report

Category Coverage
Function Coverage 73.52% (27225/37030)
Line Coverage 57.15% (294135/514686)
Region Coverage 54.85% (246639/449687)
Branch Coverage 56.30% (107005/190057)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants