[fix](doc) dev: correct wrong expected outputs in five string-function examples#3861
Open
boluor wants to merge 1 commit into
Open
[fix](doc) dev: correct wrong expected outputs in five string-function examples#3861boluor wants to merge 1 commit into
boluor wants to merge 1 commit into
Conversation
…n examples Backport of apache#3860 to dev (docs/ + current/). Same five string-function example pages carry an expected result that does not match the server; each is wrong in both EN and ZH. Verified on a Doris master build (doris-0.0.0-trunk-97b77e6cda). 1. ends-with.md ENDS_WITH('testing','test') 1 -> 0 2. reverse.md REVERSE('ḍḍumannàri') 'irànnaumuḍḍ' -> 'irànnamuḍḍ' 3. mask-last-n.md result block was for a different input ('Hello你好123'); mask_last_n('Helloṭṛ123', 9) -> 'Helloṭṛnnn' 4. position.md POSITION('hello','ṭṛì ḍḍumai hello',8) 13 -> 12 5. mask.md mask('Test123','ABC','xyz','999') 'Xxxx999' -> 'Axxx999' Cluster verification (Doris master build): ENDS_WITH('test','test'), ENDS_WITH('testing','test') -> 1 , 0 REVERSE('ṭṛì ḍḍumai'), REVERSE('ḍḍumannàri') -> iamuḍḍ ìṛṭ , irànnamuḍḍ mask_last_n('Helloṭṛ123', 9) -> Helloṭṛnnn POSITION('ḍḍumai' IN 'ṭṛì ḍḍumai hello'), POSITION('hello','ṭṛì ḍḍumai hello',8) -> 5 , 12 mask('Test123','ABC','xyz','999') -> Axxx999 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #3860 to dev (
docs/+i18n/zh-CN/.../current/).The same five string-function example pages carry an expected result that does not match the server; each is wrong in both EN and ZH. Verified on a Doris master build (
doris-0.0.0-trunk-97b77e6cda).ends-with.mdENDS_WITH('testing','test')=10reverse.mdirànnaumuḍḍirànnamuḍḍu; actual reverse ofḍḍumannàrimask-last-n.mdHello你好nnn(headerHello你好123)Helloṭṛnnnmask_last_n('Helloṭṛ123', 9)position.md1312'hello'starts at character position 12mask.mdXxxx999Axxx999'ABC', soT → A, not defaultXCluster verification (Doris master build)
🤖 Generated with Claude Code