This is an automated email from the ASF dual-hosted git repository.
ruifengz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 0b786901633 [SPARK-41850][CONNECT][PYTHON][TESTS] Enable doctest for
`isnan`
0b786901633 is described below
commit 0b786901633f3b8942dcb4c25e6c8a1671d3c0d6
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Wed Jan 4 12:28:20 2023 +0800
[SPARK-41850][CONNECT][PYTHON][TESTS] Enable doctest for `isnan`
### What changes were proposed in this pull request?
Enable doctest for `isnan`, it had been resolved in
https://github.com/apache/spark/pull/39360
### Why are the changes needed?
for test coverage
### Does this PR introduce _any_ user-facing change?
no, test-only
### How was this patch tested?
enabled doctest
Closes #39376 from zhengruifeng/connect_fix_41850.
Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>
---
python/pyspark/sql/connect/functions.py | 3 ---
1 file changed, 3 deletions(-)
diff --git a/python/pyspark/sql/connect/functions.py
b/python/pyspark/sql/connect/functions.py
index c8ddd0cea7c..7a50906ee39 100644
--- a/python/pyspark/sql/connect/functions.py
+++ b/python/pyspark/sql/connect/functions.py
@@ -2444,9 +2444,6 @@ def _test() -> None:
# TODO(SPARK-41849): implement DataFrameReader.text
del pyspark.sql.connect.functions.input_file_name.__doc__
- # TODO(SPARK-41850): fix isnan
- del pyspark.sql.connect.functions.isnan.__doc__
-
# Creates a remote Spark session.
os.environ["SPARK_REMOTE"] = "sc://localhost"
globs["spark"] =
PySparkSession.builder.remote("sc://localhost").getOrCreate()
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]