zhengruifeng opened a new pull request, #58643: URL: https://github.com/apache/spark/pull/58643
### What changes were proposed in this pull request? This PR expands the Python Spark Connect plan-only tests for DataFrame APIs. It adds protobuf plan assertions for: - projections and aggregation modes; - lateral and nearest-by joins; - column additions, metadata, and renames; - watermark, hint, transpose, and `toDF` operations; - `zipWithIndex`, `repartitionById`, and deduplication within a watermark. It also updates the existing union alias coverage to exercise `unionAll` directly. ### Why are the changes needed? These DataFrame APIs previously lacked focused tests of the protobuf plans generated by the Python client. The additional plan-only coverage catches client-side serialization regressions without requiring a running Spark server. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? ```bash python3 -u python/run-tests.py --testnames pyspark.sql.tests.connect.test_connect_plan ``` ### Was this patch authored or co-authored using generative AI tooling? Generated-by: OpenAI Codex (GPT-5) -- 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]
