Skip to content

Docs: Fix replaceSortOrder example in evolution.md - #18201

Merged
singhpk234 merged 1 commit into
apache:mainfrom
Rango-2017:docs-fix-sort-order-example
Sep 22, 2026
Merged

singhpk234 merged 1 commit into
apache:mainfrom
Rango-2017:docs-fix-sort-order-example

Conversation

@Rango-2017

@Rango-2017 Rango-2017 commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

The replaceSortOrder snippet calls .dec(...) and NullOrder.NULL_FIRST. SortOrderBuilder only has desc, and NullOrder only has NULLS_FIRST / NULLS_LAST. The line above already uses NULLS_LAST, so this one just doesn't compile.

#17085 had the same one-line fix and was approved, then closed for inactivity. The exmaple on main is still wrong.

Fixes #17082

@github-actions github-actions Bot added the docs label Sep 22, 2026
@singhpk234
singhpk234 merged commit 29ae647 into apache:main Sep 22, 2026
10 checks passed
@singhpk234

Copy link
Copy Markdown
Contributor

Thanks for the change @Rango-2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: Fix non-existent SortOrderBuilder method in evolution.md example

2 participants