Skip to content

test: remove custom optimizer rule from sort_pushdown.slt - #27483

Merged
alamb merged 5 commits into
apache:mainfrom
alamb:alamb/sort_pushdown_custom_rule_slt
Nov 18, 2026
Merged

alamb merged 5 commits into
apache:mainfrom
alamb:alamb/sort_pushdown_custom_rule_slt

Conversation

@alamb

@alamb alamb commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

While reviewing this PR the structure I saw something confusing.

#26118 added a test to sort_pushdown.slt that relies on a custom physical optimizer rule (CustomLimitRule) which the test harness installs based on the file name. It is not obvious to readers that the whole (3000+ line) file runs with a non default optimizer.

What changes are included in this PR?

  1. Remove CustomLimitRule, so sort_pushdown.slt runs with the default optimizer
  2. Register the custom limit directly as a table (custom_ordered_limit), the same way the other custom plan tests in the file are set up

What is the testing strategy for this PR?

Tests only

Are there any user-facing changes?

No, test only

alamb and others added 3 commits November 16, 2026 13:57
…ts own slt file

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@github-actions github-actions Bot added the sqllogictest SQL Logic Tests (.slt) label Nov 16, 2026
alamb and others added 2 commits November 16, 2026 15:19
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@alamb alamb changed the title test: move sort pushdown test that needs a custom optimizer rule to its own slt file test: remove custom optimizer rule from sort_pushdown.slt Nov 16, 2026
@alamb alamb added the development-process Related to development process of DataFusion label Nov 16, 2026
@alamb
alamb marked this pull request as ready for review November 16, 2026 20:30
@github-actions github-actions Bot removed the development-process Related to development process of DataFusion label Nov 16, 2026
@alamb

alamb commented Nov 18, 2026

Copy link
Copy Markdown
Contributor Author

Thanks @xudong963

@alamb
alamb added this pull request to the merge queue Nov 18, 2026
Merged via the queue into apache:main with commit 454bf29 Nov 18, 2026
42 checks passed
@alamb
alamb deleted the alamb/sort_pushdown_custom_rule_slt branch November 18, 2026 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sqllogictest SQL Logic Tests (.slt) v57.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants