boluor opened a new pull request, #3895:
URL: https://github.com/apache/doris-website/pull/3895
### Problem
The `BITMAP_AGG` and `MAP_AGG` pages (version-3.x and version-2.1, EN + ZH)
lead with examples that query tables the page never defines:
- `BITMAP_AGG`: `select * from test_bitmap_agg;`
- `MAP_AGG`: `select n_nationkey, n_name, n_regionkey from nation;`
So every example on each page fails with `table does not exist`.
### Fix
Add a visible `CREATE TABLE` + `INSERT` block before the first example on
each page, reconstructed from each page's own printed output. No change to the
example SQL or the expected outputs.
### Verification
Ran the modified pages end-to-end on fresh live clusters — Doris **3.1.4**
(version-3.x) and **2.1.11** (version-2.1). Every example reproduces the
documented output exactly, **P5 F0 per page** on both clusters, including:
- `BITMAP_AGG`'s VARCHAR `k5` column auto-cast to BIGINT and the bitmap
range rules (values `< 0` or `> 18446744073709551615` dropped);
- `MAP_AGG`'s grouped `{key:value}` map output across all five region groups.
Files: version-3.x + version-2.1, EN + ZH — 8 files (2 pages × 2 versions ×
2 langs).
🤖 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]