Skip to content

[SPARK-59549][PYTHON][TEST][FOLLOWUP] Add ARM expected results for pandas.Series.astype tests - #58952

Open
Spenserrrr wants to merge 1 commit into
apache:masterfrom
Spenserrrr:series-astype-arm-overrides
Open

Spenserrrr wants to merge 1 commit into
apache:masterfrom
Spenserrrr:series-astype-arm-overrides

Conversation

@Spenserrrr

@Spenserrrr Spenserrrr commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Add ARM-specific expected results for nonfinite float-to-timestamp and float-to-timedelta casts in the upstream Series.astype tests.

Why are the changes needed?

The scheduled Linux ARM and macOS jobs convert positive infinity to the maximum int64 temporal value, while the x86 goldens record NaT, causing both call-mode tests to fail.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

The upstream suite passes locally, and the affected pyspark-core shard passes on native Linux ARM and macOS runners with the new overrides.

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

Generated-by: GPT-5

@Spenserrrr
Spenserrrr marked this pull request as ready for review September 21, 2026 23:24
@Spenserrrr

Copy link
Copy Markdown
Contributor Author

Hi @gaogaotiantian @Yicong-Huang! The schedule ARM and macOS jobs failed because the new Series.astype test has different results for nonfinite float-to-temporal casts. This PR adds an override to those cells. Could you take a look when you have time? Thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant