You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Maciej Szymkiewicz (Jira)" <ji...@apache.org> on 2020/12/04 13:48:00 UTC
[jira] [Commented] (SPARK-32681) PySpark type hints support
[ https://issues.apache.org/jira/browse/SPARK-32681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17244012#comment-17244012 ]
Maciej Szymkiewicz commented on SPARK-32681:
--------------------------------------------
Thanks [~hyukjin.kwon]. As far as I am aware things are in a good shape now ‒ there are some things I'd like to try in the future, but these target infra and / or tests and can safely wait after the release.
> PySpark type hints support
> --------------------------
>
> Key: SPARK-32681
> URL: https://issues.apache.org/jira/browse/SPARK-32681
> Project: Spark
> Issue Type: Improvement
> Components: PySpark
> Affects Versions: 3.1.0
> Reporter: Hyukjin Kwon
> Assignee: Maciej Szymkiewicz
> Priority: Critical
>
> https://github.com/zero323/pyspark-stubs demonstrates a lot of benefits to improve usability in PySpark by leveraging Python type hints.
> By having the type hints in PySpark we can, for example:
> - automatically document the input and output types
> - leverage IDE for error detection and auto-completion
> - have a cleaner definition and easier to understand.
> This JIRA is an umbrella JIRA that targets to port https://github.com/zero323/pyspark-stubs and related items to smoothly run within PySpark.
> It was also discussed in the dev mailing list: http://apache-spark-developers-list.1001551.n3.nabble.com/Re-PySpark-Revisiting-PySpark-type-annotations-td26232.html
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org