spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hyukjin Kwon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SPARK-24454) ml.image doesn't have default imports
Date Sat, 02 Jun 2018 03:59:00 GMT

    [ https://issues.apache.org/jira/browse/SPARK-24454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16498852#comment-16498852
] 

Hyukjin Kwon commented on SPARK-24454:
--------------------------------------

Missing \_\_all\_\_ is orthogonal though since you are explicitly accessing it, isn't it?
It's simply because that's not imported in ml/\_\_init\_\_.py.

> ml.image doesn't have default imports
> -------------------------------------
>
>                 Key: SPARK-24454
>                 URL: https://issues.apache.org/jira/browse/SPARK-24454
>             Project: Spark
>          Issue Type: Bug
>          Components: ML, PySpark
>    Affects Versions: 2.3.0
>            Reporter: Xiangrui Meng
>            Priority: Major
>
> {code:java}
> from pyspark import ml
> ml.image{code}
> The ml.image line will fail because we don't have __all__ defined there. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message