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 d0a1c4d0a680 [SPARK-48846][PYTHON][DOCS][FOLLOWUP] Add a missing param
doc in python api `partitioning` functions docs
d0a1c4d0a680 is described below
commit d0a1c4d0a680e0995e8c99330f1f9563bab144e4
Author: Wei Guo <[email protected]>
AuthorDate: Tue Jul 16 14:32:34 2024 +0900
[SPARK-48846][PYTHON][DOCS][FOLLOWUP] Add a missing param doc in python api
`partitioning` functions docs
### What changes were proposed in this pull request?
Add a missing param in func docs of `partitioning.py`.
### Why are the changes needed?
- Make python api docs better.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Pass GA and docs check.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #47345 from wayneguow/py_f_docs.
Authored-by: Wei Guo <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
---
python/pyspark/sql/functions/partitioning.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/python/pyspark/sql/functions/partitioning.py
b/python/pyspark/sql/functions/partitioning.py
index e89901cdbe54..da4a261887f1 100644
--- a/python/pyspark/sql/functions/partitioning.py
+++ b/python/pyspark/sql/functions/partitioning.py
@@ -189,6 +189,8 @@ def bucket(numBuckets: Union[Column, int], col:
"ColumnOrName") -> Column:
Parameters
----------
+ numBuckets : :class:`~pyspark.sql.Column` or int
+ the number of buckets
col : :class:`~pyspark.sql.Column` or str
target date or timestamp column to work on.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]