Ezequie1Sc opened a new pull request, #4424: URL: https://github.com/apache/doris-website/pull/4424
## Summary Fix the `ARRAY_MAP` documentation example in Apache Doris 2.1 to ensure the SQL query matches the displayed output. ## Changes - Include `c_array1` in the SELECT statement to match the two output columns. - Replace the undefined `test_array_map_function` table with the existing `array_test2` table. - Update the expected output to match the sample data. - Add `ORDER BY id` to ensure deterministic row ordering. ## Versions - [ ] dev - [ ] 4.x - [ ] 3.x - [x] 2.1 or older (not covered by version/language sync gate) ## Languages - [ ] Chinese - [x] English ## Docs Checklist - [x] Checked by AI - [ ] Test Cases Built - [x] Updated required version and language counterparts, or explained why not - [x] If only one language changed, confirmed whether source/translation counterparts need sync ## Validation - Reviewed the SQL query against the existing `array_test2` table definition. - Verified that the expected output matches the documented sample data. - Confirmed that the SQL now selects the same columns shown in the result table. - The SQL has not been executed against a live Apache Doris instance. ## Version and Language Scope This PR targets the English documentation for version 2.1. The version 3.x English page was reviewed and no longer contains the affected example. No Chinese translation has been updated in this PR; the corresponding translation has not been verified. ## Related Issue Fixes #3887 -- 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]
