You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "durgaprasadml (via GitHub)" <gi...@apache.org> on 2026/05/28 07:17:08 UTC

Re: [I] Pyspark: `DataFrame` methods behind `is_remote_only()` statically evaluate to `Union` during typechecking [spark]

durgaprasadml commented on issue #56141:
URL: https://github.com/apache/spark/issues/56141#issuecomment-4561638137

   Opened PR #56150 to address this issue by exposing the relevant methods to static analyzers via TYPE_CHECKING while preserving existing runtime behavior for remote-only environments.
   
   The PR also adds typing regression tests for:
   - DataFrame.rdd
   - SparkSession.sparkContext
   - SparkSession.newSession
   
   Verified with the existing PySpark typing test suite (13 passed).


-- 
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: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org