boluor opened a new pull request, #3730: URL: https://github.com/apache/doris-website/pull/3730
## Summary The `FOREACH` combinator examples query a table named `db` but never show how to create or populate it, so readers cannot copy-paste and reproduce the documented results. This PR adds a `CREATE TABLE` + `INSERT` block before the existing query examples, making the page self-contained and runnable. The setup was verified against a live Doris instance and reproduces all the example outputs in the doc. Applied consistently across EN + ZH for versions 2.1 / 3.x / 4.x / current (8 files). ## Test plan - [x] Ran the added `CREATE TABLE` + `INSERT` on a live cluster - [x] Confirmed `sum_foreach`, `count_foreach`, `array_agg_foreach`, and `map_agg_foreach` return the documented results -- 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]
