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-39030][PYTHON] Rename sum to avoid shading the builtin Python function #36364

Closed
wants to merge 1 commit into from

Conversation

bjornjorgensen
Copy link
Contributor

What changes were proposed in this pull request?

Rename sum to something else.

Why are the changes needed?

Sum is a build in function in python. SUM() at python docs

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Use existing tests.

@bjornjorgensen bjornjorgensen changed the title [WIP] rename sum [SPARK-39030][CORE][PYTHON] rename sum Apr 26, 2022
@HyukjinKwon HyukjinKwon changed the title [SPARK-39030][CORE][PYTHON] rename sum [SPARK-39030][CORE][PYTHON] Rename sum to avoid shading the builtin Python function Apr 27, 2022
@HyukjinKwon HyukjinKwon changed the title [SPARK-39030][CORE][PYTHON] Rename sum to avoid shading the builtin Python function [SPARK-39030][PYTHON] Rename sum to avoid shading the builtin Python function Apr 27, 2022
@HyukjinKwon
Copy link
Member

HyukjinKwon commented Apr 27, 2022

Merged to master, branch-3.3 and branch-3.2.

HyukjinKwon pushed a commit that referenced this pull request Apr 27, 2022
…function

### What changes were proposed in this pull request?
Rename sum to something else.

### Why are the changes needed?
Sum is a build in function in python. [SUM() at python docs](https://docs.python.org/3/library/functions.html#sum)

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

### How was this patch tested?
Use existing tests.

Closes #36364 from bjornjorgensen/rename-sum.

Authored-by: bjornjorgensen <bjornjorgensen@gmail.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 3821d80)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
HyukjinKwon pushed a commit that referenced this pull request Apr 27, 2022
…function

### What changes were proposed in this pull request?
Rename sum to something else.

### Why are the changes needed?
Sum is a build in function in python. [SUM() at python docs](https://docs.python.org/3/library/functions.html#sum)

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

### How was this patch tested?
Use existing tests.

Closes #36364 from bjornjorgensen/rename-sum.

Authored-by: bjornjorgensen <bjornjorgensen@gmail.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 3821d80)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@bjornjorgensen bjornjorgensen deleted the rename-sum branch August 5, 2022 16:48
kazuyukitanimura pushed a commit to kazuyukitanimura/spark that referenced this pull request Aug 10, 2022
…function

### What changes were proposed in this pull request?
Rename sum to something else.

### Why are the changes needed?
Sum is a build in function in python. [SUM() at python docs](https://docs.python.org/3/library/functions.html#sum)

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

### How was this patch tested?
Use existing tests.

Closes apache#36364 from bjornjorgensen/rename-sum.

Authored-by: bjornjorgensen <bjornjorgensen@gmail.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit 3821d80)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit d790347)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants