[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
Open
Conversation
…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>
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.
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
🤖 Generated with Claude Code