Skip to content

Conversation

@itholic
Copy link
Contributor

@itholic itholic commented Jan 31, 2023

What changes were proposed in this pull request?

This PR proposes to refine error classes and messages by using the Python type object name for error class name and its messages.

nit - Also add missing dots at the end of error messages.

Why are the changes needed?

The type name was inconsistent in the previous error messages, e.g. string and str, int and integer, and the sometimes the error class name is too long to read.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

The existing CI should pass.

@itholic
Copy link
Contributor Author

itholic commented Feb 8, 2023

@HyukjinKwon could you take a look at this when you find some time?

@HyukjinKwon
Copy link
Member

Merged to master and branch-3.4.

HyukjinKwon pushed a commit that referenced this pull request Feb 8, 2023
### What changes were proposed in this pull request?

This PR proposes to refine error classes and messages by using the Python type object name for error class name and its messages.

nit - Also add missing dots at the end of error messages.

### Why are the changes needed?

The type name was inconsistent in the previous error messages, e.g. string and str, int and integer, and the sometimes the error class name is too long to read.

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

No.

### How was this patch tested?

The existing CI should pass.

Closes #39815 from itholic/SPARK-42244.

Authored-by: itholic <haejoon.lee@databricks.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 839c56a)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
HyukjinKwon pushed a commit that referenced this pull request Feb 8, 2023
…tency

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

This PR follow-ups for #39815 to fix error messages that's not meet the consistency with other error messages.

### Why are the changes needed?

To keep the consistency across all error messages.

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

No, error message changes.

### How was this patch tested?

The existing CI should pass.

Closes #39935 from itholic/SPARK-42244-followup.

Authored-by: itholic <haejoon.lee@databricks.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
HyukjinKwon pushed a commit that referenced this pull request Feb 8, 2023
…tency

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

This PR follow-ups for #39815 to fix error messages that's not meet the consistency with other error messages.

### Why are the changes needed?

To keep the consistency across all error messages.

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

No, error message changes.

### How was this patch tested?

The existing CI should pass.

Closes #39935 from itholic/SPARK-42244-followup.

Authored-by: itholic <haejoon.lee@databricks.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 7dbf9f6)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
@itholic itholic deleted the SPARK-42244 branch April 22, 2023 05:48
snmvaughan pushed a commit to snmvaughan/spark that referenced this pull request Jun 20, 2023
### What changes were proposed in this pull request?

This PR proposes to refine error classes and messages by using the Python type object name for error class name and its messages.

nit - Also add missing dots at the end of error messages.

### Why are the changes needed?

The type name was inconsistent in the previous error messages, e.g. string and str, int and integer, and the sometimes the error class name is too long to read.

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

No.

### How was this patch tested?

The existing CI should pass.

Closes apache#39815 from itholic/SPARK-42244.

Authored-by: itholic <haejoon.lee@databricks.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 839c56a)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
snmvaughan pushed a commit to snmvaughan/spark that referenced this pull request Jun 20, 2023
…tency

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

This PR follow-ups for apache#39815 to fix error messages that's not meet the consistency with other error messages.

### Why are the changes needed?

To keep the consistency across all error messages.

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

No, error message changes.

### How was this patch tested?

The existing CI should pass.

Closes apache#39935 from itholic/SPARK-42244-followup.

Authored-by: itholic <haejoon.lee@databricks.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 7dbf9f6)
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.

2 participants