Skip to content

test: cover lpad and rpad routing configurations - #5895

Open
rich7420 wants to merge 1 commit into
apache:mainfrom
rich7420:test/4616-padding-routing
Open

test: cover lpad and rpad routing configurations#5895
rich7420 wants to merge 1 commit into
apache:mainfrom
rich7420:test/4616-padding-routing

Conversation

@rich7420

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Part of #4616.

Rationale for this change

The lpad and rpad tests do not verify routing with the codegen dispatcher disabled. Their global dispatcher counters also do not identify which expression ran.

What changes are included in this PR?

Check both dispatcher settings in the existing tests. Supported argument shapes must stay native; unsupported shapes must dispatch or fall back with the disabled-dispatcher reason. Replace global counters with expression-specific assertions and remove the redundant allowIncompatible loop.

How are these changes tested?

All four routing tests pass locally on Spark 4.1 after rebasing, covering 20 query/configuration combinations and comparing results with Spark. Injected routing regressions are caught for both expressions.

Fork CI passed before the rebase and configuration-loop cleanup. CI for the revised head is pending.

@github-actions github-actions Bot added enhancement New feature or request test Testing related labels Sep 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request test Testing related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant