You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ruifeng Zheng (Jira)" <ji...@apache.org> on 2026/03/26 06:12:00 UTC
[jira] [Resolved] (SPARK-56066) Lazy import numpy for pyspark
[ https://issues.apache.org/jira/browse/SPARK-56066?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ruifeng Zheng resolved SPARK-56066.
-----------------------------------
Fix Version/s: 4.2.0
Resolution: Fixed
Issue resolved by pull request 54896
[https://github.com/apache/spark/pull/54896]
> Lazy import numpy for pyspark
> -----------------------------
>
> Key: SPARK-56066
> URL: https://issues.apache.org/jira/browse/SPARK-56066
> Project: Spark
> Issue Type: Improvement
> Components: PySpark
> Affects Versions: 4.2.0
> Reporter: Tian Gao
> Assignee: Tian Gao
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.2.0
>
>
> numpy is slow to import, we should avoid importing it when we don't need it. So `import pyspark` should not import numpy.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org