Skip to content

test: cover regex expression routing configurations - #5917

Merged
andygrove merged 1 commit into
apache:mainfrom
rich7420:test/4616-regex-routing-upstream
Sep 14, 2026
Merged

test: cover regex expression routing configurations#5917
andygrove merged 1 commit into
apache:mainfrom
rich7420:test/4616-regex-routing-upstream

Conversation

@rich7420

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Part of #4616.

Rationale for this change

Result comparisons alone can pass through the wrong execution path. These tests verify routing when JVM dispatch is enabled or disabled and when native execution is explicitly opted into.

What changes are included in this PR?

Cover rlike, regexp_extract, regexp_extract_all, regexp_replace and split. Assert native, JVM dispatcher and Spark fallback paths, including unsupported pattern, group index and position arguments after native opt-in.

How are these changes tested?

All 6 fixtures pass on Spark 4.1.3 as part of the 15-test routing run on current main. The original fixtures passed fork CI on Spark 3.4, 3.5, 4.0, 4.1 and 4.2 (run); regexp_extract_all is gated to Spark 3.5+. Apache RAT passed.

@github-actions github-actions Bot added enhancement New feature or request test Testing related labels Sep 14, 2026

@andygrove andygrove left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rich7420

@andygrove
andygrove added this pull request to the merge queue Sep 14, 2026
Merged via the queue into apache:main with commit bfd661b Sep 14, 2026
52 checks passed
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.

2 participants