GitHub user mgaido91 opened a pull request:
https://github.com/apache/spark/pull/22629
[SPARK-25609][TESTS] Reduce time of test for SPARK-22226
## What changes were proposed in this pull request?
The PR changes the test introduced for SPARK-22226, so that we don't run
analysis and optimization on the plan. The scope of the test is code generation
and running the above mentioned operation is expensive and useless for the test.
The UT was also moved to the `CodeGenerationSuite` which is a better place
given the scope of the test.
## How was this patch tested?
running the UT before SPARK-22226 fails, after it passes. The execution
time is about 50% the original one. On my laptop this means that the test now
runs in about 23 seconds (instead of 50 seconds).
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mgaido91/spark SPARK-25609
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/22629.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 #22629
----
commit 2cdb7e446dcd709ef96bca60ab5df46c6a00a69a
Author: Marco Gaido <marcogaido91@...>
Date: 2018-10-04T14:44:46Z
[SPARK-25609][TESTS] Reduce time of test for SPARK-22226
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]