Skip to content

[fix](doc) explode-json-array-int-outer.md zh: rewrite (page was a stray copy of the json-outer page)#3820

Open
boluor wants to merge 1 commit into
apache:masterfrom
boluor:fix/explode-json-array-int-outer-zh-wrong-fn
Open

[fix](doc) explode-json-array-int-outer.md zh: rewrite (page was a stray copy of the json-outer page)#3820
boluor wants to merge 1 commit into
apache:masterfrom
boluor:fix/explode-json-array-int-outer-zh-wrong-fn

Conversation

@boluor
Copy link
Copy Markdown
Contributor

@boluor boluor commented May 26, 2026

Summary

Doc page (4.x): `i18n/zh-CN/.../table-functions/explode-json-array-int-outer.md` (ZH).

The ZH page at this path was an exact copy of the `explode-json-array-json-outer` page — frontmatter title, prose, syntax block, parameters, examples — all describing the JSON-outer function instead of the INT-outer function the file path claims. Readers following the function-reference link landed on docs for the wrong function.

This PR replaces the ZH `explode-json-array-int-outer.md` content with a translation of the EN version of the same page, so the page actually describes `explode_json_array_int_outer`.

The `explode-json-array-json-outer` ZH page is untouched — it's already correct.

Verification

```
mysql> CREATE TABLE example(k1 int) properties('replication_num'='1');
mysql> INSERT INTO example VALUES(1);
mysql> select * from example lateral view explode_json_array_int_outer('[4, 5, 5.23, null]') t2 as c;
+------+------+
| k1 | c |
+------+------+
| 1 | 4 |
| 1 | 5 |
| 1 | 5 |
| 1 | NULL |
+------+------+
```

Matches the documented result block.

Test plan

  • ZH page now matches EN page structurally (same examples, translated prose).
  • Lead example runs on Apache Doris 4.1.1 with the documented output.
  • explode-json-array-json-outer ZH page not modified.

🤖 Generated with Claude Code

…opy of explode-json-array-json-outer

The ZH page at .../explode-json-array-int-outer.md was an exact copy
of the explode-json-array-json-outer page (frontmatter title, prose,
syntax, parameters, examples — all describing the JSON-outer
function, not the INT-outer function the file path claims). Readers
following the link from the function reference would land on docs
for the wrong function.

Translate the EN explode-json-array-int-outer page into ZH so the
page actually describes `explode_json_array_int_outer`. The
explode-json-array-json-outer ZH page is untouched — it's already
correct.

Verified the lead example (`explode_json_array_int_outer('[4, 5,
5.23, null]')` ) on Apache Doris 4.1.1: returns 4 rows with values
4, 5, 5, NULL as documented.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant