This is an automated email from the ASF dual-hosted git repository.

zhengruifeng pushed a commit to branch branch-4.3
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-4.3 by this push:
     new 2a58d38af3ea [MINOR][4.3][SQL][PYTHON] Document collect_union in the 
function reference
2a58d38af3ea is described below

commit 2a58d38af3ea7df89087d3803a536c143158ce4c
Author: Ruifeng Zheng <[email protected]>
AuthorDate: Thu Oct 22 10:13:13 2026 +0800

    [MINOR][4.3][SQL][PYTHON] Document collect_union in the function reference
    
    ### What changes were proposed in this pull request?
    
    Add `collect_union` to the aggregate-function autosummary in the PySpark 
SQL function reference on `branch-4.3`.
    
    ### Why are the changes needed?
    
    `collect_union` is exported in Spark 4.3.0, but its API reference page is 
not generated because the autosummary omits it. Master and `branch-4.x` already 
include the entry through #58468. This PR applies only the missing 
documentation entry to `branch-4.3`.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No. Documentation only.
    
    ### How was this patch tested?
    
    Built a focused Sphinx HTML project with autodoc, autosummary, and numpydoc 
enabled and warnings treated as errors. Verified that the `collect_union` page 
was generated and linked. Also ran `git diff --check`.
    
    ### Was this patch authored or co-authored using generative AI tooling?
    
    Generated-by: OpenAI Codex (GPT-6)
    
    Closes #59631 from zhengruifeng/sql-collect-union-doc-43-dev-5.
    
    Authored-by: Ruifeng Zheng <[email protected]>
    Signed-off-by: Ruifeng Zheng <[email protected]>
---
 python/docs/source/reference/pyspark.sql/functions.rst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/python/docs/source/reference/pyspark.sql/functions.rst 
b/python/docs/source/reference/pyspark.sql/functions.rst
index 5147e6c90ba6..24f62bcbe250 100644
--- a/python/docs/source/reference/pyspark.sql/functions.rst
+++ b/python/docs/source/reference/pyspark.sql/functions.rst
@@ -455,6 +455,7 @@ Aggregate Functions
     bool_or
     collect_list
     collect_set
+    collect_union
     corr
     count
     count_distinct


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to