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

   ### What changes were proposed in this pull request?
   
   Add three methods that were added in Spark 4.2 but missing from the Python 
API reference:
   
   - `DataFrame.zipWithIndex` (added in `reference/pyspark.sql/dataframe.rst`)
   - `DataSourceStreamReader.getDefaultReadLimit` (added in 
`reference/pyspark.sql/datasource.rst`)
   - `DataSourceStreamReader.reportLatestOffset` (added in 
`reference/pyspark.sql/datasource.rst`)
   
   ### Why are the changes needed?
   
   These methods are public, marked `.. versionadded:: 4.2.0`, and reachable 
through `pyspark.sql.DataFrame` / 
`pyspark.sql.datasource.DataSourceStreamReader`, but the autosummary entries 
were never added so they do not appear in the rendered API reference.
   
   Original commits:
   - `DataFrame.zipWithIndex` — SPARK-55229 / SPARK-55231
   - `DataSourceStreamReader.getDefaultReadLimit` / `reportLatestOffset` — 
SPARK-55304
   
   ### Does this PR introduce _any_ user-facing change?
   
   Documentation-only change; the methods themselves are unchanged.
   
   ### How was this patch tested?
   
   Docs-only change. New entries inserted alphabetically (datasource section is 
fully alphabetical; `DataFrame.zipWithIndex` lands last as expected from its 
name).
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (model: claude-opus-4-7)


-- 
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