HappenLee opened a new pull request, #4175: URL: https://github.com/apache/doris-website/pull/4175
`MAP_AGG` keeps the first value encountered for a key and ignores later values for the same key, including when merging partial states. Document this behavior and explain why processing order does not guarantee the earliest inserted value or a stable winner across queries. Add a duplicate-key example showing both possible outcomes. Update the English and Chinese dev, 4.x and 3.x pages together. Also fence the syntax and remove an orphaned English example whose output does not match the page's sample data. Related: https://github.com/apache/doris/pull/68496 ## Versions - [x] dev - [x] 4.x - [x] 3.x - [ ] 2.1 or older (not covered by version/language sync gate) ## Languages - [x] Chinese - [x] English ## Docs Checklist - [x] Checked by AI - [x] Test Cases Built (new duplicate-key SQL example executed locally) - [x] Updated required version and language counterparts, or explained why not - [x] If only one language changed, confirmed whether source/translation counterparts need sync (both languages updated) ## Validation - All six changed pages compile with the MDX compiler. - Version/language synchronization check: no findings. - Documentation lint: no new findings compared with the same six pages at the base commit (30 existing findings reduced to 22). - `git diff --check` passes. - Duplicate-key example executed on the PR FE with an existing BE at execution version 14; returned `{1:"a"}` as one allowed outcome. Other versions were checked against implementation semantics, not separate running clusters. -- 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]
