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 2018/11/13 09:03:00 UTC

[jira] [Updated] (SPARK-25344) Break large PySpark unittests into smaller files

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

Hyukjin Kwon updated SPARK-25344:
---------------------------------
    Summary: Break large PySpark unittests into smaller files  (was: Break large tests.py files into smaller files)

> Break large PySpark unittests into smaller files
> ------------------------------------------------
>
>                 Key: SPARK-25344
>                 URL: https://issues.apache.org/jira/browse/SPARK-25344
>             Project: Spark
>          Issue Type: Improvement
>          Components: PySpark
>    Affects Versions: 2.4.0
>            Reporter: Imran Rashid
>            Assignee: Hyukjin Kwon
>            Priority: Major
>
> We've got a ton of tests in one humongous tests.py file, rather than breaking it out into smaller files.
> Having one huge file doesn't seem great for code organization, and it also makes the test parallelization in run-tests.py not work as well.  On my laptop, tests.py takes 150s, and the next longest test file takes only 20s.  There are similarly large files in other pyspark modules, eg. sql/tests.py, ml/tests.py, mllib/tests.py, streaming/tests.py.
> It seems that at least for some of these files, its already broken into independent test classes, so it shouldn't be too hard to just move them into their own files.



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