Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-31849][PYTHON][SQL][FOLLOW-UP] More correct error message in Python UDF exception message #28762

Closed

Conversation

HyukjinKwon
Copy link
Member

@HyukjinKwon HyukjinKwon commented Jun 9, 2020

What changes were proposed in this pull request?

This PR proposes to fix wordings in the Python UDF exception error message from:

From:

An exception was thrown from Python worker in the executor. The below is the Python worker stacktrace.

To:

An exception was thrown from the Python worker. Please see the stack trace below.

It removes "executor" because Python worker is technically a separate process, and remove the duplicated wording "Python worker" .

Why are the changes needed?

To give users better exception messages.

Does this PR introduce any user-facing change?

No, it's in unreleased branches only. If RC3 passes, yes, it will change the exception message.

How was this patch tested?

Manually tested.

Copy link
Member

@ueshin ueshin 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 Author

Thanks, @ueshin. I am going to merge since there's no CI test but I tested manually.

@HyukjinKwon
Copy link
Member Author

Merged to master and branch-3.0.

HyukjinKwon added a commit that referenced this pull request Jun 9, 2020
…ython UDF exception message

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

This PR proposes to fix wordings in the Python UDF exception error message from:

From:

> An exception was thrown from Python worker in the executor. The below is the Python worker stacktrace.

To:

> An exception was thrown from the Python worker. Please see the stack trace below.

It removes "executor" because Python worker is technically a separate process, and remove the duplicated wording "Python worker" .

### Why are the changes needed?

To give users better exception messages.

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

No, it's in unreleased branches only. If RC3 passes, yes, it will change the exception message.

### How was this patch tested?

Manually tested.

Closes #28762 from HyukjinKwon/SPARK-31849-followup-2.

Authored-by: HyukjinKwon <gurwls223@apache.org>
Signed-off-by: HyukjinKwon <gurwls223@apache.org>
(cherry picked from commit e289140)
Signed-off-by: HyukjinKwon <gurwls223@apache.org>
@maropu
Copy link
Member

maropu commented Jun 9, 2020

late LGTM

@HyukjinKwon
Copy link
Member Author

Thank you @maropu!

@SparkQA
Copy link

SparkQA commented Jun 9, 2020

Test build #123663 has finished for PR 28762 at commit 9eb69c0.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@HyukjinKwon HyukjinKwon deleted the SPARK-31849-followup-2 branch July 27, 2020 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants