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

   ## Problem
   
   The ZH page kept an older combined example whose third call, 
`APPEND_TRAILING_CHAR_IF_ABSENT('ac', 'cd')`, was documented as returning 
`accd`. That is wrong: `<trailing_char>` is a **single** trailing character, 
and passing a 2-character string returns `NULL` on the server.
   
   The EN page was already rewritten into five focused single-character 
examples; this PR brings ZH in line with EN (EN is the reference and is 
unchanged).
   
   ## Cluster verification (Doris 3.1.4-rc02)
   
   Actual output, pasted into the doc:
   
   ```
   SELECT APPEND_TRAILING_CHAR_IF_ABSENT('a', 'c');    -> ac
   SELECT APPEND_TRAILING_CHAR_IF_ABSENT('ac', 'c');   -> ac
   SELECT APPEND_TRAILING_CHAR_IF_ABSENT('', '/');     -> /
   SELECT APPEND_TRAILING_CHAR_IF_ABSENT(NULL, 'c');   -> NULL
   SELECT APPEND_TRAILING_CHAR_IF_ABSENT('acf', 'ṛ');  -> acfṛ
   ```
   
   Confirming the removed case is genuinely wrong:
   
   ```
   SELECT APPEND_TRAILING_CHAR_IF_ABSENT('ac', 'cd');  -> NULL   (doc 
previously said 'accd')
   ```
   
   🤖 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