GitHub user seancxmao opened a pull request: https://github.com/apache/spark/pull/23224
[MINOR][SQL][TEST] WholeStageCodegen metrics should be tested with whole-stage codegen enabled ## What changes were proposed in this pull request? In `org.apache.spark.sql.execution.metric.SQLMetricsSuite`, there's a test case named "WholeStageCodegen metrics". However, it is executed with whole-stage codegen disabled. This PR fixes this by enable whole-stage codegen for this test case. ## How was this patch tested? Tested locally using exiting test cases. You can merge this pull request into a Git repository by running: $ git pull https://github.com/seancxmao/spark codegen-metrics Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/23224.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 #23224 ---- commit 021728ccc70cf971592c560cfc5492dedbdc362a Author: seancxmao <seancxmao@...> Date: 2018-12-05T06:28:02Z [MINOR][SQL][TEST] WholeStageCodegen metrics should be tested with whole-stage codegen enabled ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org