[fix](doc) small A-disjoint backports: substring/intersect-count examples + url-encode zh fence#3816
Open
boluor wants to merge 1 commit into
Open
[fix](doc) small A-disjoint backports: substring/intersect-count examples + url-encode zh fence#3816boluor wants to merge 1 commit into
boluor wants to merge 1 commit into
Conversation
…ples + url-encode zh fence Three small cross-port fixes that share the same "minimum-impact" shape: - versioned_docs/.../string-functions/substring.md (EN +1): Add an "Empty source string" example that ZH already has, demonstrating that substring of '' returns ''. - versioned_docs/.../aggregate-functions/intersect-count.md (EN +1): Add the two-day intersection example showing the function counts bitmap intersection across multiple filter values; ZH already had this. - i18n/zh-CN/.../string-functions/url-encode.md (ZH fence fix): The result block was fenced as ```sql instead of ```text, so docs syntax-highlights an ASCII grid as SQL. Drop the spurious blank line inside the result block while I'm there. All three additions/changes were re-run on Apache Doris 4.1.1 and the result blocks are the verbatim mysql client output. Co-Authored-By: Claude Opus 4.7 (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.
Summary
Three small cross-port fixes in one PR; each is a minimum-impact change.
Verification
```
mysql> SELECT substring('', 1, 3); -- ''
mysql> select intersect_count(user_id,dt,20250801,20250802) from pv_bitmap; -- 1
```
Both run on a single-node Apache Doris 4.1.1 cluster against a freshly-recreated `pv_bitmap` table seeded with the doc's own INSERT.
Test plan
🤖 Generated with Claude Code