boluor opened a new pull request, #3878: URL: https://github.com/apache/doris-website/pull/3878
The `ROUND_BANKERS` and `UNIFORM` pages each show a `SELECT ... FROM <table>` example with an expected result, but never define the table on the page. As written these examples cannot be run or reproduced — a reader who copies them gets `Table [...] does not exist`. This PR adds the missing `CREATE TABLE` + `INSERT` for each table, carried in a standard HTML comment (`<!-- setup-sql ... -->`) just before the example. Because it is an HTML comment, **the rendered page is unchanged** and **no documented expected output is modified**. ### Pages and tables | Function | Table(s) | | --- | --- | | `ROUND_BANKERS` | `test_enhanced_round` | | `UNIFORM` | `it`, `fn_test` | `ROUND_BANKERS` is updated in EN + ZH across dev/`current`, `version-4.x`, `version-3.x` and `version-2.1`; `UNIFORM` exists only in dev/`current` and `version-4.x` (12 files total). Verified end-to-end: ROUND_BANKERS on 4.1.1 / 3.1.4 / 2.1.11 / master, UNIFORM on 4.1.1 / master. The deterministic examples failed with "table does not exist" before this change and match the documented output after it. (`UNIFORM`s `random()`-seeded examples are inherently non-deterministic, as the page itself notes — those keep showing sample output.) No `ja-source` changes. 🤖 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]
