doris-website icon indicating copy to clipboard operation
doris-website copied to clipboard

docs: fix incorrect column references in AGG_STATE example

Open dewanshshekhar opened this issue 4 months ago • 0 comments

The AGG_STATE example in zh-CN/docs/2.1/table-design/data-model/aggregate.md was using non-existent columns k2 and k3, which do not match the table schema.

Updated the example queries to use the correct columns v1 and v2:

insert into aggstate select 3,sum(v1),group_concat_union(v2) from aggstate;

select sum(v1), group_concat_merge(v2) from aggstate;

select sum(v1), group_concat_merge(v2) from aggstate where k1 != 2;

## Versions 

- [ ] dev
- [ ] 3.0
- [ ] 2.1
- [ ] 2.0

## Languages

- [ ] Chinese
- [ ] English

## Docs Checklist

- [ ] Checked by AI
- [ ] Test Cases Built

dewanshshekhar avatar Oct 06 '25 11:10 dewanshshekhar