Skip to content

[SPARK-62139][PYTHON][TEST] Fix deprecated API usage for PyArrow - #60763

Open
raulcd wants to merge 1 commit into
apache:masterfrom
raulcd:SPARK-62139
Open

raulcd wants to merge 1 commit into
apache:masterfrom
raulcd:SPARK-62139

Conversation

@raulcd

@raulcd raulcd commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

Update PyArrow usage due to deprecated API usage.

Why are the changes needed?

While trying to fix the integration tests on PyArrow here:

I found out a couple issues. Once tests were executed again I realized Spark was used a deprecated API that had been removed here:

Does this PR introduce any user-facing change?

No, only a test change to use the correct API.

How was this patch tested?

I have tested successfully on Arrow with this:
apache/arrow#55692 (comment)

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

No, used to analyze the failure on Arrow side but fix is authored by me.

@raulcd
raulcd marked this pull request as ready for review November 23, 2026 09:01
@raulcd

raulcd commented Nov 23, 2026

Copy link
Copy Markdown
Member Author

@HyukjinKwon could you take a look at this minor fix

@tadeja

tadeja commented Nov 26, 2026

Copy link
Copy Markdown
Member

It looks like build Checks here require action (you may need to enable spark Actions on your fork, @raulcd )
@HyukjinKwon is fork Build check required for a short fix like this?

@raulcd

raulcd commented Nov 30, 2026

Copy link
Copy Markdown
Member Author

I've enabled actions and rebased master to trigger CI again.

@raulcd

raulcd commented Nov 30, 2026

Copy link
Copy Markdown
Member Author

@LuciferYang can I get a quick review. This will allow us on apache/arrow to remove bypassing those tests on our nightly integration builds with spark

@rok

rok commented Dec 1, 2026

Copy link
Copy Markdown
Member

@HyukjinKwon any chance you could merge this 1-line PR? It's breaking our nightlies.

@rok

rok commented Dec 2, 2026

Copy link
Copy Markdown
Member

Ping @holdenk ? :)

@rok

rok commented Dec 3, 2026

Copy link
Copy Markdown
Member

Ping @zhengruifeng :)

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants