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-32677][SQL][DOCS][MINOR] Improve code comment in CreateFunctionCommand #29713

Closed
wants to merge 1 commit into from

Conversation

cloud-fan
Copy link
Contributor

What changes were proposed in this pull request?

We made a mistake in #29502, as there is no code comment to explain why we can't load the UDF class when creating functions. This PR improves the code comment.

Why are the changes needed?

To avoid making the same mistake.

Does this PR introduce any user-facing change?

No

How was this patch tested?

N/A

@cloud-fan
Copy link
Contributor Author

@HyukjinKwon HyukjinKwon changed the title [MINOR] improve code comment in CreateFunctionCommand [MINOR][SQL][DOCS] Improve code comment in CreateFunctionCommand Sep 10, 2020
@ulysses-you
Copy link
Contributor

Thanks to correct this, it's good to improve the comment!

@SparkQA
Copy link

SparkQA commented Sep 10, 2020

Test build #128516 has finished for PR 29713 at commit 4b0d8c4.

  • This patch fails PySpark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@maropu maropu changed the title [MINOR][SQL][DOCS] Improve code comment in CreateFunctionCommand [SPARK-32677][SQL][DOCS][MINOR] Improve code comment in CreateFunctionCommand Sep 11, 2020
@maropu maropu closed this in 328d81a Sep 11, 2020
maropu pushed a commit that referenced this pull request Sep 11, 2020
…nCommand

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

We made a mistake in #29502, as there is no code comment to explain why we can't load the UDF class when creating functions. This PR improves the code comment.

### Why are the changes needed?

To avoid making the same mistake.

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

No

### How was this patch tested?

N/A

Closes #29713 from cloud-fan/comment.

Authored-by: Wenchen Fan <wenchen@databricks.com>
Signed-off-by: Takeshi Yamamuro <yamamuro@apache.org>
(cherry picked from commit 328d81a)
Signed-off-by: Takeshi Yamamuro <yamamuro@apache.org>
@maropu
Copy link
Member

maropu commented Sep 11, 2020

Thanks! Merged to master/3.0.

holdenk pushed a commit to holdenk/spark that referenced this pull request Oct 27, 2020
…nCommand

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

We made a mistake in apache#29502, as there is no code comment to explain why we can't load the UDF class when creating functions. This PR improves the code comment.

### Why are the changes needed?

To avoid making the same mistake.

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

No

### How was this patch tested?

N/A

Closes apache#29713 from cloud-fan/comment.

Authored-by: Wenchen Fan <wenchen@databricks.com>
Signed-off-by: Takeshi Yamamuro <yamamuro@apache.org>
(cherry picked from commit 328d81a)
Signed-off-by: Takeshi Yamamuro <yamamuro@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
5 participants