You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "boluor (via GitHub)" <gi...@apache.org> on 2026/05/26 17:07:55 UTC

[PR] [fix](doc) count_substrings.md zh: backport the CJK out-of-range example from en [doris-website]

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

   ## Summary
   
   The EN page has an out-of-range position example using CJK characters:
   
   \`\`\`sql
   SELECT count_substrings('你好,世界!你好,世界!', '世界', 0),
          count_substrings('你好,世界!你好,世界!', '世界', 30);
   \`\`\`
   
   ZH only has the same demonstration using Latin-Extended characters (\`éèêëìíîïðñòó\`). Add the CJK version after the Latin-Extended one so ZH covers the same character sets EN does. Both forms return \`(0, 0)\` — position 0 is below the 1-based range and 30 is past the end of the string.
   
   ## Verification
   
   Run on Apache Doris 4.1.1; both columns return 0.
   
   ## Test plan
   
   - [x] Cluster output matches the documented result block.
   - [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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [PR] [fix](doc) count_substrings.md zh: backport the CJK out-of-range example from en [doris-website]

Posted by "morningman (via GitHub)" <gi...@apache.org>.
morningman merged PR #3819:
URL: https://github.com/apache/doris-website/pull/3819


-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org