csun5285 opened a new pull request, #69110: URL: https://github.com/apache/doris/pull/69110
## What problem does this PR solve? Backport the nested MAP duplicate-key handling from Apache Doris PR #68639 to `branch-4.2`. String casts to MAP, ARRAY, and STRUCT now remove duplicate keys from MAPs nested in arrays, structs, and MAP values, retaining the last value. The backport removes the old top-level-only MAP wrapper and normalizes the shared string-to-complex cast path. ## Scope - Backport the three functional commits from #68639. - Resolve the `branch-4.2` conflicts while preserving the branch-specific cast code. - Add the nested MAP regression and unit coverage for strict and non-strict modes. ## Validation - clang-format 16 check passed. - `git diff --check` passed. - Full BE build and unit test were not run in this worktree because no branch-4.2 build artifact was available. Related upstream PR: #68639 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
