Skip to content

[MINOR][VL] Re-enable the ignored weekday test in VeloxStringFunctionsSuite - #12688

Open
yikf wants to merge 1 commit into
apache:mainfrom
yikf:reenable-weekday-test
Open

[MINOR][VL] Re-enable the ignored weekday test in VeloxStringFunctionsSuite#12688
yikf wants to merge 1 commit into
apache:mainfrom
yikf:reenable-weekday-test

Conversation

@yikf

@yikf yikf commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

What changes are proposed in this pull request?

The weekday Spark function was fully enabled in #4721 (WEEK_DAY -> Velox weekday), whose semantics (Monday=0 ... Sunday=6) already match Spark's WeekDay.

However, the corresponding test was left as ignore with a stale "result mismatched" note that no longer applies. Re-enable it as a regular test, consistent with the adjacent dayofweek test.

How was this patch tested?

Re-enable the ignored weekday test.

Was this patch authored or co-authored using generative AI tooling?

No.

…sSuite

The `weekday` Spark function was fully enabled in apache#4721 (WEEK_DAY ->
Velox `weekday`), whose semantics (Monday=0 ... Sunday=6) already match
Spark's WeekDay. However, the corresponding test was left as `ignore`
with a stale "result mismatched" note that no longer applies. Re-enable
it as a regular test, consistent with the adjacent `dayofweek` test.
Copilot AI lite review requested due to automatic review settings August 4, 2026 06:05
@github-actions github-actions Bot added the VELOX label Aug 4, 2026
@yikf

yikf commented Aug 4, 2026

Copy link
Copy Markdown
Contributor Author

@philo-he Could you please take a look, thanks.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR re-enables the weekday Spark function test in the Velox backend suite by converting it from an ignored test case back into a regular, executed unit test, aligning it with the already-enabled adjacent date-function tests.

Changes:

  • Changed the weekday test from ignore("weekday") to test("weekday") so it runs in CI.
  • Removed the stale inline note implying result mismatch.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

3 participants