This is an automated email from the ASF dual-hosted git repository.

morningman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git


The following commit(s) were added to refs/heads/master by this push:
     new 1eef18aa5dc [fix](doc) arrays-overlap.md zh: remove stray apostrophe 
after closing fence (#3830)
1eef18aa5dc is described below

commit 1eef18aa5dc5dd7b4e432b9085bbc830b746c003
Author: boluor <[email protected]>
AuthorDate: Fri May 29 19:58:27 2026 -0700

    [fix](doc) arrays-overlap.md zh: remove stray apostrophe after closing 
fence (#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)
    
    Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
---
 .../sql-functions/scalar-functions/array-functions/arrays-overlap.md  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-functions/scalar-functions/array-functions/arrays-overlap.md
 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-functions/scalar-functions/array-functions/arrays-overlap.md
index ea54652096b..fa786282205 100644
--- 
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-functions/scalar-functions/array-functions/arrays-overlap.md
+++ 
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-4.x/sql-manual/sql-functions/scalar-functions/array-functions/arrays-overlap.md
@@ -85,7 +85,7 @@ ARRAYS_OVERLAP(arr1, arr2)
     +----------------------------+
     |                       NULL |
     +----------------------------+
-    ```'
+    ```
 
 4. 输入的`ARRAY` 包含 `NULL` 时,`NULL` 和 `NULL`被视作相等
    
@@ -110,7 +110,7 @@ ARRAYS_OVERLAP(arr1, arr2)
     +---------------------------------------------------+
     |                                                 1 |
     +---------------------------------------------------+
-    ```'
+    ```
 
 5. 使用倒排索引加速查询
    


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to