boluor opened a new pull request, #3897:
URL: https://github.com/apache/doris-website/pull/3897

   ### Problem
   
   The `BITMAP_AGG` page (dev / `docs/` + `i18n/zh-CN/.../current/`) declares 
its setup column `k5` as `BIGINT`:
   
   ```sql
   k5 BIGINT
   ...
   INSERT INTO test_bitmap_agg VALUES
       ...
       (4, 40, 140, 41, 500, 40000000000, 18446744073709551616),
       (5, 50, 150, 51, 250, 50000000000, 18446744073709551615),
       ...
   ```
   
   But `18446744073709551615` and `18446744073709551616` exceed the BIGINT 
range, so the `INSERT` is rejected outright. The table ends up empty and 
**every example on the page fails** (`table`/data missing).
   
   ### Fix
   
   Change `k5` to `VARCHAR(32)` (and quote its values) so the large values are 
stored as written. `BITMAP_AGG` then converts them and applies its own 
documented range rule — values `< 0` or `> 18446744073709551615` are dropped — 
reproducing the example output 
`0,200000000000000,300000000000000,18446744073709551615`. No change to the 
example SQL or expected outputs.
   
   This matches the column typing already used on the version-3.x / version-2.1 
copies of this page.
   
   ### Verification
   
   Ran the modified page end-to-end on a fresh live **master** build. Every 
example reproduces the documented output exactly (EN + ZH, F0).
   
   🤖 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]

Reply via email to