Skip to content

[SPARK-55851][PYTHON][FOLLOW-UP] Deal with NotImplementedError for partitions()#54871

Closed
gaogaotiantian wants to merge 2 commits intoapache:masterfrom
gaogaotiantian:support-notimplemented-reader
Closed

[SPARK-55851][PYTHON][FOLLOW-UP] Deal with NotImplementedError for partitions()#54871
gaogaotiantian wants to merge 2 commits intoapache:masterfrom
gaogaotiantian:support-notimplemented-reader

Conversation

@gaogaotiantian
Copy link
Contributor

What changes were proposed in this pull request?

Deal with NotImplementedError for partitions with datasource reader - accept it and convert it to the current behavior.

Why are the changes needed?

In connect case, the client might be using an old data source base class and the server could be running the latest worker code. We need to support the old data source code in the new server.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

CI.

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

No.

@HyukjinKwon HyukjinKwon changed the title [SPARK-55851][PYTHON][FOLLOWUP] Deal with NotImplementedError for partitions() [SPARK-55851][PYTHON][FOLLOW-UP] Deal with NotImplementedError for partitions() Mar 17, 2026
@HyukjinKwon
Copy link
Member

Merged to master.

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.

3 participants