boluor opened a new pull request, #3818:
URL: https://github.com/apache/doris-website/pull/3818

   ## Summary
   
   Two small ports from EN to ZH for array-functions.
   
   | File | Added |
   |------|-------|
   | \`array-enumerate-uniq.md\` (ZH) | NULL input handling for both single-arg 
and multi-arg forms — \`array_enumerate_uniq(NULL)\` and 
\`array_enumerate_uniq(NULL, NULL)\` both return NULL |
   | \`array-first-index.md\` (ZH) | Multi-array lambda \`(x, y) -> x > y\` 
with no matching pair returns 0 |
   
   EN already had both examples; this brings ZH up to the same coverage.
   
   ## Note
   
   \`array-exists.md\` and \`array-first.md\` showed up in lang-diff stats as 
having en-only examples. A direct per-statement comparison shows both pages 
have the exact same 12 SQL examples on each side — the lang-diff count was from 
non-SQL noise. Not patching those.
   
   ## Verification
   
   \`\`\`
   mysql> SELECT array_enumerate_uniq(NULL), array_enumerate_uniq(NULL, NULL);  
  -- NULL, NULL
   mysql> SELECT array_first_index((x, y) -> x > y, [1,2,3,4,5], 
[1.1,2.2,3.3,4.4,5.5]);  -- 0
   \`\`\`
   
   ## Test plan
   
   - [x] Both added examples verified on Apache Doris 4.1.1.
   - [x] No EN-side change.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
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]

Reply via email to