[fix](doc) v3.x/v2.1 zh: fix full-width commas in CTE example SQL#3935
Merged
Conversation
The "Simple CTE" example in the Chinese cte.md used full-width commas (,U+FF0C) inside the SQL block, so the snippet fails to parse. The English counterpart and the "Nested CTE" block on the same page already use half-width commas. Replace the 4 full-width commas with half-width in the simple-example SQL (ZH 3.x + 2.1). Chinese prose commas untouched; EN unaffected (already correct); dev/4.x ZH already rewritten without this example. 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.
Problem
The Simple CTE example in the Chinese
query-data/cte.mdused full-width commas (,U+FF0C) inside the SQL code block:Pasted as-is the statement fails to parse (
errCode = 2 ... we meet an error when parsing). The English counterpart and the Nested CTE block on the same page already use half-width commas — only this one block was affected.Fix
Replace the 4 full-width commas with half-width
,in the simple-example SQL, making the ZH snippet identical to the canonical EN one. Chinese prose commas are left untouched.Versions
Languages
Verification
The snippet is an illustrative example over undefined
table1/table2(no setup, no expected-output table), so it has no cluster oracle to run end-to-end; correctness is established against the already-correct EN counterpart and the half-width Nested-CTE block on the same page. The change is a pure full-width→half-width comma typo fix confined to the SQL fence.