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

   ## Summary
   
   Mechanical port of the 4.x fixes in #3833, #3837, #3838, #3839 to 
dev/master. Verified against today's master build (selectdb-qa-test tarball).
   
   **Skipped** (already applied on dev):
   - strleft.md ZH dedup (#3837)
   - milliseconds-add.md EN BIGINT-range example (#3834 EN-side; the ZH 
duplicate-removal piece is in the sibling PR)
   
   ## Files (13)
   
   ### EN string-functions
   - **from-base64.md, instr.md, length.md, locate.md, lpad.md** — backport 
corner-case examples (NULL / empty / multi-byte UTF-8 / numeric / etc.) added 
in #3833
   - **rtrim.md** — add the LENGTH-based 'default-only-strips-ASCII-space' 
example (#3837)
   - **substring.md** — add the missing 'empty source string' example + 'NULL 
passed directly' (#3839)
   - **trim.md** — replace example 2's prose + expected output 
(`trim('ababccaab', 'ab')` is `cca`, not `ababcca` — trim repeatedly strips 
from both ends), plus the UTF-8 multi-byte-pattern example (#3839)
   
   ### EN other-functions
   - **field.md** — full replace with 4.x post-fix version: adds CREATE TABLE 
setup for `baseall` and `class_test` (which the page references but never 
created), adds a NULL row to `class_test`, adds DESC and NULLS FIRST examples 
that exercise NULL handling (#3789 + #3839 combined)
   
   ### ZH
   - **field.md** — add the simple `SELECT FIELD(2, 3, 1, 2, 5)` example (#3839)
   - **ltrim.md** — rewrite example 3 with correct expected output; LTRIM 
strips ASCII space only, NOT `\t`/`\n`, so the result still contains the 
tab/newline. Switched to a LENGTH() comparison for clarity (#3838)
   - **substring.md** — add the SUBSTR alias example (#3839)
   - **trim.md** — add three examples (no-match returns original; repeated 
pattern strips until exhausted; asymmetric removal with multi-char pattern). 
Also drop a trailing `;;` typo (#3839)
   
   ## Verification
   
   Verified end-to-end against today's master cluster — all added / modified 
examples behave identically on master as on 4.1.1, so the doc fixes apply 
unchanged.
   
   ## Related 4.x PRs
   #3833 #3837 #3838 #3839 (and #3789 for the field.md setup blocks).
   
   🤖 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