You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hyukjin Kwon (Jira)" <ji...@apache.org> on 2021/12/23 00:18:00 UTC

[jira] [Assigned] (SPARK-34629) Python type hints improvement

     [ https://issues.apache.org/jira/browse/SPARK-34629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hyukjin Kwon reassigned SPARK-34629:
------------------------------------

    Assignee: Maciej Szymkiewicz

> Python type hints improvement
> -----------------------------
>
>                 Key: SPARK-34629
>                 URL: https://issues.apache.org/jira/browse/SPARK-34629
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark
>    Affects Versions: 3.1.2
>            Reporter: Hyukjin Kwon
>            Assignee: Maciej Szymkiewicz
>            Priority: Critical
>             Fix For: 3.3.0
>
>
> We added PySpark type hints at SPARK-32681
> However, looks like there are still many missing APIs to type. I maintain a project called [Koalas](https://github.com/databricks/koalas), and I found these errors https://gist.github.com/HyukjinKwon/9faabc5f2680b56007d71ef7cf0ad400
> For example, {{pyspark.__version__}} and {{pyspark.sql.Column.contains}} are missing in the type hints.
> I believe this is the same case to other projects that enables mypy in their project (presumably also given SPARK-34544).
> This umbrella JIRA targets to identify such cases and improve Python type hints in PySpark.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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