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-43005][PYSPARK] Fix typo in pyspark/pandas/config.py #40620

Closed
wants to merge 1 commit into from

Conversation

thyecust
Copy link
Contributor

By comparing compute.isin_limit and plotting.max_rows, v is v is likely to be a typo.

What changes were proposed in this pull request?

fix v is v >= 0 with v >= 0.

Why are the changes needed?

By comparing compute.isin_limit and plotting.max_rows, v is v is likely to be a typo.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

By GitHub Actions.

By comparing compute.isin_limit and plotting.max_rows, `v is v` is likely to be a typo.
@srowen
Copy link
Member

srowen commented Apr 1, 2023

Indeed a bug. It happens to work for values that aren't 0, I think

@thyecust thyecust changed the title fix typo in pyspark/pandas/config.py [SPARK-43005][PYTHON] Fix typo in pyspark/pandas/config.py Apr 3, 2023
@thyecust thyecust changed the title [SPARK-43005][PYTHON] Fix typo in pyspark/pandas/config.py [SPARK-43005][PYSPARK] Fix typo in pyspark/pandas/config.py Apr 3, 2023
@srowen srowen closed this in 5ac2b0f Apr 3, 2023
srowen pushed a commit that referenced this pull request Apr 3, 2023
By comparing compute.isin_limit and plotting.max_rows, `v is v` is likely to be a typo.

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

fix `v is v >= 0` with `v >= 0`.

### Why are the changes needed?

By comparing compute.isin_limit and plotting.max_rows, `v is v` is likely to be a typo.

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

No.

### How was this patch tested?

By GitHub Actions.

Closes #40620 from thyecust/patch-2.

Authored-by: thyecust <thy@mail.ecust.edu.cn>
Signed-off-by: Sean Owen <srowen@gmail.com>
(cherry picked from commit 5ac2b0f)
Signed-off-by: Sean Owen <srowen@gmail.com>
srowen pushed a commit that referenced this pull request Apr 3, 2023
By comparing compute.isin_limit and plotting.max_rows, `v is v` is likely to be a typo.

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

fix `v is v >= 0` with `v >= 0`.

### Why are the changes needed?

By comparing compute.isin_limit and plotting.max_rows, `v is v` is likely to be a typo.

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

No.

### How was this patch tested?

By GitHub Actions.

Closes #40620 from thyecust/patch-2.

Authored-by: thyecust <thy@mail.ecust.edu.cn>
Signed-off-by: Sean Owen <srowen@gmail.com>
(cherry picked from commit 5ac2b0f)
Signed-off-by: Sean Owen <srowen@gmail.com>
srowen pushed a commit that referenced this pull request Apr 3, 2023
By comparing compute.isin_limit and plotting.max_rows, `v is v` is likely to be a typo.

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

fix `v is v >= 0` with `v >= 0`.

### Why are the changes needed?

By comparing compute.isin_limit and plotting.max_rows, `v is v` is likely to be a typo.

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

No.

### How was this patch tested?

By GitHub Actions.

Closes #40620 from thyecust/patch-2.

Authored-by: thyecust <thy@mail.ecust.edu.cn>
Signed-off-by: Sean Owen <srowen@gmail.com>
(cherry picked from commit 5ac2b0f)
Signed-off-by: Sean Owen <srowen@gmail.com>
@srowen
Copy link
Member

srowen commented Apr 3, 2023

Merged to master/3.4/3.3/3.2

sunchao pushed a commit to sunchao/spark that referenced this pull request Jun 2, 2023
By comparing compute.isin_limit and plotting.max_rows, `v is v` is likely to be a typo.

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

fix `v is v >= 0` with `v >= 0`.

### Why are the changes needed?

By comparing compute.isin_limit and plotting.max_rows, `v is v` is likely to be a typo.

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

No.

### How was this patch tested?

By GitHub Actions.

Closes apache#40620 from thyecust/patch-2.

Authored-by: thyecust <thy@mail.ecust.edu.cn>
Signed-off-by: Sean Owen <srowen@gmail.com>
(cherry picked from commit 5ac2b0f)
Signed-off-by: Sean Owen <srowen@gmail.com>
snmvaughan pushed a commit to snmvaughan/spark that referenced this pull request Jun 20, 2023
By comparing compute.isin_limit and plotting.max_rows, `v is v` is likely to be a typo.

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

fix `v is v >= 0` with `v >= 0`.

### Why are the changes needed?

By comparing compute.isin_limit and plotting.max_rows, `v is v` is likely to be a typo.

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

No.

### How was this patch tested?

By GitHub Actions.

Closes apache#40620 from thyecust/patch-2.

Authored-by: thyecust <thy@mail.ecust.edu.cn>
Signed-off-by: Sean Owen <srowen@gmail.com>
(cherry picked from commit 5ac2b0f)
Signed-off-by: Sean Owen <srowen@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants