zhengruifeng opened a new pull request, #56394:
URL: https://github.com/apache/spark/pull/56394

   ### What changes were proposed in this pull request?
   
   Fix two broken `See Also` cross-references in 
`pyspark/sql/functions/builtin.py`:
   
   - `var_samp`: `std_samp` → `stddev_samp`
   - `var_pop`: `std_pop` → `stddev_pop`
   
   The functions `std_samp` and `std_pop` do not exist in 
`pyspark.sql.functions`. The correct names are `stddev_samp` and `stddev_pop`, 
which are the sample and population standard deviation functions respectively.
   
   ### Why are the changes needed?
   
   The broken links produce dead references in the generated API documentation. 
Users following the `See Also` section from `var_samp` or `var_pop` would land 
on a missing page.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. Documentation-only fix.
   
   ### How was this patch tested?
   
   No tests needed for doc-only fixes. Verified programmatically that 
`stddev_samp` and `stddev_pop` are valid function names defined in `builtin.py`.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Sonnet 4.6


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to