Angvannor opened a new pull request, #4453: URL: https://github.com/apache/doris-website/pull/4453
## What changed - Add `CREATE TABLE` + `INSERT` setup for `collect_list_test` / `collect_set_test` in the 3.x and 2.1 EN/ZH pages, so the examples are runnable. - Refresh expected outputs to the current array rendering: quoted string/date elements and `, ` separators. - Use `array_sort(collect_set(...))` in the `COLLECT_SET` examples that need deterministic output, and document that element order (and which elements are kept with `max_size`) is not guaranteed. - Fix the malformed border in the `COLLECT_SET` ordering example. - Also change the ZH `COLLECT_LIST` syntax fence from `text` to `sql` for consistency. ## Why The pages query tables that are never created, and their outputs use a legacy array format, so copy-pasting the examples fails. Fixes #3896 ## How tested - Checked that all Markdown tables are aligned and all code fences are balanced. - Compared the new examples with the current `docs/` and `version-4.x` pages. - Docs only; no code changes. ## Notes - The `COLLECT_SET` outputs with `max_size` are one possible result; the docs now state that the kept elements are not guaranteed. -- 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]
