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

   ## Summary
   
   Two fenced code blocks in 示例 3 and 示例 4 of the ZH page close with `\`\`\`'` 
(extra apostrophe) instead of `\`\`\``. CommonMark treats this as an open fence 
that never closes, so everything after — including the CREATE TABLE in 示例 5 — 
gets parsed as one continuous code block, hiding the setup SQL from any reader 
who copies it out as runnable Markdown.
   
   After the fix, the doc extracts identically to the EN version: 13 
statements, same kinds, same SQL.
   
   ## Verification
   
   Ran the runnable example end-to-end against a freshly deployed Doris 4.1.1 
single-node cluster:
   
   ```sql
   CREATE TABLE IF NOT EXISTS arrays_overlap_table (
       id INT,
       array_column ARRAY<STRING>,
       INDEX idx_array_column (array_column) USING INVERTED
   ) ENGINE=OLAP
   DUPLICATE KEY(id)
   DISTRIBUTED BY HASH(id) BUCKETS 1
   PROPERTIES ("replication_num" = "1");
   
   INSERT INTO arrays_overlap_table (id, array_column) VALUES
     (1, ARRAY('HELLO', 'ALOHA')),
     (2, ARRAY('NO', 'WORLD'));
   
   SELECT * FROM arrays_overlap_table WHERE ARRAYS_OVERLAP(array_column, 
ARRAY('HELLO', 'PICKLE'));
   -- 1 row: id=1, array_column=["HELLO", "ALOHA"]
   
   SELECT ARRAYS_OVERLAP(array_column, ARRAY('HELLO', 'PICKLE')) FROM 
arrays_overlap_table;
   -- two rows: 1, 0
   ```
   
   Both outputs match what 示例 5 documents.
   
   ## Test plan
   
   - [x] Verified Markdown fence parses correctly (extractor surfaces CREATE 
TABLE / INSERT as exec, not illustrative)
   - [x] Verified ZH stmt structure matches EN after fix (13 stmts, identical 
kinds)
   - [x] Ran 示例 5 SQL end-to-end on Doris 4.1.1; output matches doc
   
   🤖 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