This is an automated email from the ASF dual-hosted git repository.
gurwls223 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 272634b4240 [SPARK-41842][CONNECT][PYTHON][TESTS] Enable doctests for
time functions
272634b4240 is described below
commit 272634b42406aa60d3a6fb818427aa3078ec9c00
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Thu Jan 5 19:20:35 2023 +0900
[SPARK-41842][CONNECT][PYTHON][TESTS] Enable doctests for time functions
### What changes were proposed in this pull request?
Enable doctests for time functions
### Why are the changes needed?
for test coverage
### Does this PR introduce _any_ user-facing change?
no, test-only
### How was this patch tested?
enable tests
Closes #39407 from zhengruifeng/connect_fix_41842.
Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
---
python/pyspark/sql/connect/functions.py | 7 -------
1 file changed, 7 deletions(-)
diff --git a/python/pyspark/sql/connect/functions.py
b/python/pyspark/sql/connect/functions.py
index f2603d477cb..d9665cd1a8e 100644
--- a/python/pyspark/sql/connect/functions.py
+++ b/python/pyspark/sql/connect/functions.py
@@ -2368,13 +2368,6 @@ def _test() -> None:
# TODO(SPARK-41757): Fix String representation for Column class
del pyspark.sql.connect.functions.col.__doc__
- # TODO(SPARK-41842): support data type: Timestamp(NANOSECOND, null)
- del pyspark.sql.connect.functions.hour.__doc__
- del pyspark.sql.connect.functions.minute.__doc__
- del pyspark.sql.connect.functions.second.__doc__
- del pyspark.sql.connect.functions.window.__doc__
- del pyspark.sql.connect.functions.window_time.__doc__
-
# TODO(SPARK-41838): fix dataset.show
del pyspark.sql.connect.functions.posexplode_outer.__doc__
del pyspark.sql.connect.functions.explode_outer.__doc__
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]