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

   ## Summary
   
   Doc page (4.x): \`scalar-functions/string-functions/rtrim.md\` (ZH).
   
   The third example showed:
   
   \`\`\`sql
   SELECT RTRIM('hello world  \t\n ');
   \`\`\`
   
   Whose result is the input minus the trailing space — but the embedded 
\`\t\n\` is a *real* tab and newline, so the result block rendered as two 
visual rows inside the cell and broke the ASCII grid:
   
   \`\`\`
   | hello world
                |
   \`\`\`
   
   This rewrites the same teaching point using \`LENGTH()\` so the cluster 
returns two integers (16 / 15) on a single line, and adds a one-sentence prose 
intro that calls out the lesson: *RTRIM only strips ASCII spaces, not tabs or 
newlines.*
   
   ## Verification
   
   Both LENGTH values confirmed on a single-node Apache Doris 4.1.1 cluster.
   
   ## Test plan
   
   - [x] Run the rewritten SQL on a 4.1.1 cluster — result matches \`16 | 15\`.
   - [x] Result-block stays a single-row ASCII grid.
   - [x] No other 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