Skip to content

Conversation

@amaliujia
Copy link
Contributor

What changes were proposed in this pull request?

Follow up #40164 to also throw unsupported operation exception for persist. Right now we are ok to depends on the StorageLevel in core module but in the future that shall be refactored and moved to a common module.

Why are the changes needed?

Better way to indicate a non-supported API.

Does this PR introduce any user-facing change?

NO

How was this patch tested?

N/A

@amaliujia
Copy link
Contributor Author

@hvanhovell

Copy link
Contributor

@hvanhovell hvanhovell left a comment

Choose a reason for hiding this comment

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

LGTM

@HyukjinKwon
Copy link
Member

Merged to master and branch-3.4.

HyukjinKwon pushed a commit that referenced this pull request Feb 27, 2023
…rsist

### What changes were proposed in this pull request?

Follow up #40164 to also throw unsupported operation exception for `persist`. Right now we are ok to depends on the `StorageLevel` in core module but in the future that shall be refactored and moved to a common module.

### Why are the changes needed?

Better way to indicate a non-supported API.

### Does this PR introduce _any_ user-facing change?

NO

### How was this patch tested?

N/A

Closes #40172 from amaliujia/unsupported_op_2.

Authored-by: Rui Wang <rui.wang@databricks.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 08675f2)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
snmvaughan pushed a commit to snmvaughan/spark that referenced this pull request Jun 20, 2023
…rsist

### What changes were proposed in this pull request?

Follow up apache#40164 to also throw unsupported operation exception for `persist`. Right now we are ok to depends on the `StorageLevel` in core module but in the future that shall be refactored and moved to a common module.

### Why are the changes needed?

Better way to indicate a non-supported API.

### Does this PR introduce _any_ user-facing change?

NO

### How was this patch tested?

N/A

Closes apache#40172 from amaliujia/unsupported_op_2.

Authored-by: Rui Wang <rui.wang@databricks.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 08675f2)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
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