-
- Downloads
[SPARK-21878][SQL][TEST] Create SQLMetricsTestUtils
## What changes were proposed in this pull request? Creates `SQLMetricsTestUtils` for the utility functions of both Hive-specific and the other SQLMetrics test cases. Also, move two SQLMetrics test cases from sql/hive to sql/core. ## How was this patch tested? N/A Author: gatorsmile <gatorsmile@gmail.com> Closes #19092 from gatorsmile/rewriteSQLMetrics.
Showing
- sql/core/src/test/scala/org/apache/spark/sql/execution/metric/SQLMetricsSuite.scala 5 additions, 146 deletions...g/apache/spark/sql/execution/metric/SQLMetricsSuite.scala
- sql/core/src/test/scala/org/apache/spark/sql/execution/metric/SQLMetricsTestUtils.scala 270 additions, 0 deletions...ache/spark/sql/execution/metric/SQLMetricsTestUtils.scala
- sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/SQLMetricsSuite.scala 2 additions, 104 deletions...org/apache/spark/sql/hive/execution/SQLMetricsSuite.scala
Loading
Please register or sign in to comment