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 67ea885357f4 [doc](sql-functions) Remove invalid bitmap examples
(#4547)
67ea885357f4 is described below
commit 67ea885357f4b2719c13145b75ef8b5e15c2bc2d
Author: Victor Moni <[email protected]>
AuthorDate: Thu Oct 29 00:49:30 2026 -0300
[doc](sql-functions) Remove invalid bitmap examples (#4547)
### What problem does this PR solve?
Issue Number: close #3905
The 3.x and 2.1 EXPLODE_BITMAP pages end with copy-pasted
EXPLODE_JSON_OBJECT and EXPLODE_JSON_OBJECT_OUTER queries. They
reference id, k, v and value_json, although the example table contains
only k1 and v1. Remove those invalid examples and their unused setup
from the English and Chinese pages. All valid bitmap examples are
preserved. Current and 4.x already omit these blocks.
## Versions
- [ ] dev
- [ ] 4.x
- [x] 3.x
- [x] 2.1 or older (not covered by version/language sync gate)
## Languages
- [x] Chinese
- [x] English
## Docs Checklist
- [x] Checked by AI
- [ ] Test Cases Built
- [x] Updated required version and language counterparts, or explained
why not
- [x] If only one language changed, confirmed whether source/translation
counterparts need sync
## Validation
- `git diff --check`: passed.
- Official `lint-i18n-sync.js --changed`: no errors or warnings; one
informational 3.x/current reminder. Current and 4.x have no invalid
blocks to remove.
- Verified four expected files, unchanged valid JSON front matter,
balanced code fences, exact preservation of valid examples, and removal
of all JSON-object references from these pages.
- Documentation-only removal; no database build or SQL execution.
---
.../table-functions/explode-bitmap.md | 45 ----------------------
.../table-functions/explode-bitmap.md | 45 ----------------------
.../table-functions/explode-bitmap.md | 45 ----------------------
.../table-functions/explode-bitmap.md | 45 ----------------------
4 files changed, 180 deletions(-)
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/table-functions/explode-bitmap.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/table-functions/explode-bitmap.md
index 8c80666abe4b..5f45b45ed4b4 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/table-functions/explode-bitmap.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-2.1/sql-manual/sql-functions/table-functions/explode-bitmap.md
@@ -165,48 +165,3 @@ lateral view explode_split("a,b", ",") tmp2 as e2 order by
k1, e1, e2;
| 6 | 1000 | b |
+------+------+------+
```
-
-```sql
-CREATE TABLE example (
- k1 INT,
- v1 bitmap
-)DUPLICATE KEY(k1)
-DISTRIBUTED BY HASH(k1) BUCKETS AUTO
-PROPERTIES (
-"replication_allocation" = "tag.location.default: 1");
-```
-
-```sql
-insert into example
values(1,to_bitmap('10101')),(2,to_bitmap('0')),(3,to_bitmap(NULL));
-```
-
-```sql
-SELECT id, k, v
-FROM example
-LATERAL VIEW explode_json_object(value_json) exploded_table AS k , v;
-```
-
-```text
-+------+-------+
-| k1 | bit |
-+------+-------+
-| 2 | 0 |
-| 1 | 10101 |
-+------+-------+
-```
-
-```sql
-SELECT id, k, v
-FROM example
-LATERAL VIEW explode_json_object_outer(value_json) exploded_table AS k, v;
-```
-
-```text
-+------+-------+
-| k1 | bit |
-+------+-------+
-| 2 | 0 |
-| 1 | 10101 |
-| 3 | NULL |
-+------+-------+
-```
\ No newline at end of file
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-functions/table-functions/explode-bitmap.md
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-functions/table-functions/explode-bitmap.md
index 8c80666abe4b..5f45b45ed4b4 100644
---
a/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-functions/table-functions/explode-bitmap.md
+++
b/i18n/zh-CN/docusaurus-plugin-content-docs/version-3.x/sql-manual/sql-functions/table-functions/explode-bitmap.md
@@ -165,48 +165,3 @@ lateral view explode_split("a,b", ",") tmp2 as e2 order by
k1, e1, e2;
| 6 | 1000 | b |
+------+------+------+
```
-
-```sql
-CREATE TABLE example (
- k1 INT,
- v1 bitmap
-)DUPLICATE KEY(k1)
-DISTRIBUTED BY HASH(k1) BUCKETS AUTO
-PROPERTIES (
-"replication_allocation" = "tag.location.default: 1");
-```
-
-```sql
-insert into example
values(1,to_bitmap('10101')),(2,to_bitmap('0')),(3,to_bitmap(NULL));
-```
-
-```sql
-SELECT id, k, v
-FROM example
-LATERAL VIEW explode_json_object(value_json) exploded_table AS k , v;
-```
-
-```text
-+------+-------+
-| k1 | bit |
-+------+-------+
-| 2 | 0 |
-| 1 | 10101 |
-+------+-------+
-```
-
-```sql
-SELECT id, k, v
-FROM example
-LATERAL VIEW explode_json_object_outer(value_json) exploded_table AS k, v;
-```
-
-```text
-+------+-------+
-| k1 | bit |
-+------+-------+
-| 2 | 0 |
-| 1 | 10101 |
-| 3 | NULL |
-+------+-------+
-```
\ No newline at end of file
diff --git
a/versioned_docs/version-2.1/sql-manual/sql-functions/table-functions/explode-bitmap.md
b/versioned_docs/version-2.1/sql-manual/sql-functions/table-functions/explode-bitmap.md
index 1884241a6a00..7dea29a5d9b4 100644
---
a/versioned_docs/version-2.1/sql-manual/sql-functions/table-functions/explode-bitmap.md
+++
b/versioned_docs/version-2.1/sql-manual/sql-functions/table-functions/explode-bitmap.md
@@ -165,48 +165,3 @@ lateral view explode_split("a,b", ",") tmp2 as e2 order by
k1, e1, e2;
| 6 | 1000 | b |
+------+------+------+
```
-
-```sql
-CREATE TABLE example (
- k1 INT,
- v1 bitmap
-)DUPLICATE KEY(k1)
-DISTRIBUTED BY HASH(k1) BUCKETS AUTO
-PROPERTIES (
-"replication_allocation" = "tag.location.default: 1");
-```
-
-```sql
-insert into example
values(1,to_bitmap('10101')),(2,to_bitmap('0')),(3,to_bitmap(NULL));
-```
-
-```sql
-SELECT id, k, v
-FROM example
-LATERAL VIEW explode_json_object(value_json) exploded_table AS k , v;
-```
-
-```text
-+------+-------+
-| k1 | bit |
-+------+-------+
-| 2 | 0 |
-| 1 | 10101 |
-+------+-------+
-```
-
-```sql
-SELECT id, k, v
-FROM example
-LATERAL VIEW explode_json_object_outer(value_json) exploded_table AS k, v;
-```
-
-```text
-+------+-------+
-| k1 | bit |
-+------+-------+
-| 2 | 0 |
-| 1 | 10101 |
-| 3 | NULL |
-+------+-------+
-```
\ No newline at end of file
diff --git
a/versioned_docs/version-3.x/sql-manual/sql-functions/table-functions/explode-bitmap.md
b/versioned_docs/version-3.x/sql-manual/sql-functions/table-functions/explode-bitmap.md
index 1884241a6a00..7dea29a5d9b4 100644
---
a/versioned_docs/version-3.x/sql-manual/sql-functions/table-functions/explode-bitmap.md
+++
b/versioned_docs/version-3.x/sql-manual/sql-functions/table-functions/explode-bitmap.md
@@ -165,48 +165,3 @@ lateral view explode_split("a,b", ",") tmp2 as e2 order by
k1, e1, e2;
| 6 | 1000 | b |
+------+------+------+
```
-
-```sql
-CREATE TABLE example (
- k1 INT,
- v1 bitmap
-)DUPLICATE KEY(k1)
-DISTRIBUTED BY HASH(k1) BUCKETS AUTO
-PROPERTIES (
-"replication_allocation" = "tag.location.default: 1");
-```
-
-```sql
-insert into example
values(1,to_bitmap('10101')),(2,to_bitmap('0')),(3,to_bitmap(NULL));
-```
-
-```sql
-SELECT id, k, v
-FROM example
-LATERAL VIEW explode_json_object(value_json) exploded_table AS k , v;
-```
-
-```text
-+------+-------+
-| k1 | bit |
-+------+-------+
-| 2 | 0 |
-| 1 | 10101 |
-+------+-------+
-```
-
-```sql
-SELECT id, k, v
-FROM example
-LATERAL VIEW explode_json_object_outer(value_json) exploded_table AS k, v;
-```
-
-```text
-+------+-------+
-| k1 | bit |
-+------+-------+
-| 2 | 0 |
-| 1 | 10101 |
-| 3 | NULL |
-+------+-------+
-```
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]