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

   ## Summary
   
   Two small en/zh sync fixes in string functions:
   
   - **`rtrim.md` (en)**: backport the LENGTH-based example from ZH that 
demonstrates `RTRIM` only strips ASCII space by default (not `\t` or `\n`). 
Useful corner case the EN page was missing. Re-numbered the rest of the 
examples (3..8 → 4..9) to keep them in order.
   - **`strleft.md` (zh)**: remove redundant example 9 (`utf-8 字符串`). Example 7 
already demonstrates UTF-8 multi-byte behavior with more realistic input; 
example 9 was a single shorter case that added no new info and was the only 
structural diff vs EN.
   
   ## Verification
   
   `SELECT LENGTH('hello world  \t\n '), LENGTH(RTRIM('hello world  \t\n '));` 
on Doris 4.1.1 returns `(16, 15)`, matching the documented expected output.
   
   ## Scope note
   
   The broader bidirectional sync across the rest of the P1 "both-extra" bucket 
(`trim`, `field`, `substring`, `strright`, `array-count`) requires substantial 
content-level translation work and is deferred — those pages' example sets 
diverged in non-trivial ways and need per-example review rather than mechanical 
alignment.
   
   🤖 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