GitHub user dilipbiswal opened a pull request:

    https://github.com/apache/spark/pull/22641

    [SPARK-25611][SPARK-25622][SQL][TESTS] Improve test run time of 
CompressionCodecSuite

    ## What changes were proposed in this pull request?
    I am using the idea of @mgaido91 to pick the test codecs  randomly and 
selecting 1 in each loop to reduce the test combinations.
    
    The test runtime below : 
    ```
    [info] - both table-level and session-level compression are set (20 
seconds, 607 milliseconds)
    [info] - table-level compression is not set but session-level compressions 
is set  (14 seconds, 584 milliseconds)
    
    [info] - both table-level and session-level compression are set (20 
seconds, 140 milliseconds)
    [info] - table-level compression is not set but session-level compressions 
is set  (14 seconds, 393 milliseconds)
    
    [info] - both table-level and session-level compression are set (21 
seconds, 410 milliseconds)
    [info] - table-level compression is not set but session-level compressions 
is set  (14 seconds, 778 milliseconds)
    ```
    ## How was this patch tested?
    
    (Please explain how this patch was tested. E.g. unit tests, integration 
tests, manual tests)
    (If this patch involves UI changes, please attach a screenshot; otherwise, 
remove this)
    
    Please review http://spark.apache.org/contributing.html before opening a 
pull request.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dilipbiswal/spark SPARK-25611

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/22641.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #22641
    
----
commit 2d7ffa65be68a34a1c80daea207b26ffbb008afd
Author: Dilip Biswal <dbiswal@...>
Date:   2018-10-05T09:57:46Z

    [SPARK-25611][SPARK-25622] Improve test run time of CompressionCodecSuite

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to