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/10/20 03:13:00 UTC

[jira] [Resolved] (SPARK-37044) Add Row to __all__ in pyspark.sql.types

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

Hyukjin Kwon resolved SPARK-37044.
----------------------------------
    Fix Version/s: 3.3.0
         Assignee: Maciej Szymkiewicz
       Resolution: Fixed

Fixed in https://github.com/apache/spark/pull/34332

> Add Row to __all__ in pyspark.sql.types
> ---------------------------------------
>
>                 Key: SPARK-37044
>                 URL: https://issues.apache.org/jira/browse/SPARK-37044
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark, SQL
>    Affects Versions: 3.1.0, 3.2.0, 3.3.0
>            Reporter: Maciej Szymkiewicz
>            Assignee: Maciej Szymkiewicz
>            Priority: Minor
>             Fix For: 3.3.0
>
>
> Currently {{Row}}, defined in {{pyspark.sql.types}} is exported from {{pyspark.sql}} but not types. It means that {{from pyspark.sql.types import *}} won't import {{Row}}.
> It might be counter-intuitive, especially when we import {{Row}} from {{types}} in {{examples}}.
> Should we add it to {{__all__}}?



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