This is an automated email from the ASF dual-hosted git repository. srowen pushed a commit to branch branch-3.4 in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.4 by this push: new 9244afb5624 [SPARK-43005][PYSPARK] Fix typo in pyspark/pandas/config.py 9244afb5624 is described below commit 9244afb5624dd9ca526f28eb233fbaac32a062c7 Author: thyecust <t...@mail.ecust.edu.cn> AuthorDate: Mon Apr 3 08:24:17 2023 -0500 [SPARK-43005][PYSPARK] Fix typo in pyspark/pandas/config.py 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 <t...@mail.ecust.edu.cn> Signed-off-by: Sean Owen <sro...@gmail.com> (cherry picked from commit 5ac2b0fc024ae499119dfd5ab2ee4d038418c5fd) Signed-off-by: Sean Owen <sro...@gmail.com> --- python/pyspark/pandas/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/pyspark/pandas/config.py b/python/pyspark/pandas/config.py index 7c084bd9e22..ffc5154e49c 100644 --- a/python/pyspark/pandas/config.py +++ b/python/pyspark/pandas/config.py @@ -270,7 +270,7 @@ _options: List[Option] = [ default=1000, types=int, check_func=( - lambda v: v is v >= 0, + lambda v: v >= 0, "'plotting.max_rows' should be greater than or equal to 0.", ), ), --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org