boluor opened a new pull request, #3744:
URL: https://github.com/apache/doris-website/pull/3744
## Summary
The `GROUP_CONCAT` page syntax already advertises `[ORDER BY
{<col_name>|<expr>} [ASC|DESC]]`, but the Examples section on 2.1/3.x only
showed the basic and `DISTINCT` forms, so a reader couldn't see how `ORDER BY`
actually attaches *inside* `GROUP_CONCAT`. The current/4.x pages already carry
two ORDER BY examples — backport them to 2.1/3.x (EN + zh).
Added examples (matching the form already shipped in current/4.x):
```sql
select GROUP_CONCAT(value ORDER BY value DESC) from test;
-- => "c, c, b, a"
select GROUP_CONCAT(DISTINCT value ORDER BY value DESC) from test;
-- => "c, b, a"
```
## Test plan
- [x] All 4 backported files now have 6 `GROUP_CONCAT(...)` example calls,
matching current/4.x.
- [x] Dead-link check passes.
- [ ] CI build.
Closes #3487
--
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]