Skip to content

[fix](doc) window-functions overview en: add the missing second non-deterministic result table#3799

Open
boluor wants to merge 1 commit into
apache:masterfrom
boluor:fix/window-overview-en-missing-second-result-table
Open

[fix](doc) window-functions overview en: add the missing second non-deterministic result table#3799
boluor wants to merge 1 commit into
apache:masterfrom
boluor:fix/window-overview-en-missing-second-result-table

Conversation

@boluor
Copy link
Copy Markdown
Contributor

@boluor boluor commented May 26, 2026

Summary

Doc page (4.x): `sql-functions/window-functions/overview.md` (EN).

The page introduces the non-determinism that can show up when a window function's `ORDER BY` has duplicate keys. The prose says:

Due to duplicate values in the sorting column `date_time`, the following two query results may be observed:

but only one result table is shown. The ZH version of the page has both tables (illustrating the two possible orderings of the duplicate-keyed window).

This change adds the second result table on the EN side so the demonstration matches what the surrounding prose claims.

Verification

  • Identical text content to the ZH page (rows reordered to show the alternate ordering).
  • No SQL change — only the rendered output illustration.

Test plan

  • Re-render the EN page locally — both result tables now appear with their respective "3 rows in set" footers.
  • EN and ZH now have the same number of result tables in this section.

🤖 Generated with Claude Code

…eterministic result table

The page introduces non-deterministic window-function output and the
prose says "the following two query results may be observed:" — but
only one result table follows. The ZH version of the page has both
result tables (showing the two possible orderings the window can
produce when ORDER BY date_time has duplicate values). Mirror that
second result table on the EN side so the demonstration matches what
the surrounding prose claims.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant