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

   ## Summary
   
   Doc page (4.x): \`scalar-functions/array-functions/array-contains.md\` (ZH).
   
   One-character typo: the third row of the setup INSERT ends with \`;\` 
instead of \`,\`, terminating the INSERT after 3 rows and leaving the fourth 
row as an orphan statement the parser cannot handle:
   
   \`\`\`
   INSERT INTO array_contains_test VALUES
   (1, [1000, 2000, 3000], ['apple', 'banana', 'cherry']),
   (2, [], []),
   (3, NULL, NULL);                                          ← was \`;\`, 
should be \`,\`
   (4, [1000, null, 3000], ['apple', null, 'cherry']);
   \`\`\`
   
   The cluster fails with:
   
   \`\`\`
   ERROR 1105 (HY000): errCode = 2, detailMessage =
   mismatched input '4' expecting {'(', 'SELECT', 'VALUES', 'WITH'}(line 1, pos 
1)
   \`\`\`
   
   The EN page already uses a comma here. This change brings the ZH page in 
line.
   
   ## Verification
   
   Reproduced the parser error on a single-node Apache Doris 4.1.1 cluster. 
With the comma in place all four rows insert and subsequent queries on the page 
work.
   
   ## Test plan
   
   - [x] Run the setup block on a 4.1.1 cluster — all four rows insert.
   - [x] No prose or other SQL changes.
   
   🤖 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