You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2016/09/07 11:41:09 UTC

spark git commit: [MINOR][SQL] Fixing the typo in unit test

Repository: spark
Updated Branches:
  refs/heads/master 6f4aeccf8 -> 76ad89e92


[MINOR][SQL] Fixing the typo in unit test

## What changes were proposed in this pull request?

Fixing the typo in the unit test of CodeGenerationSuite.scala

## How was this patch tested?
Ran the unit test after fixing the typo and it passes

Author: Srinivasa Reddy Vundela <vs...@cloudera.com>

Closes #14989 from vundela/typo_fix.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/76ad89e9
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/76ad89e9
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/76ad89e9

Branch: refs/heads/master
Commit: 76ad89e9241fb2dece95dd445661dd95ee4ef699
Parents: 6f4aecc
Author: Srinivasa Reddy Vundela <vs...@cloudera.com>
Authored: Wed Sep 7 12:41:03 2016 +0100
Committer: Sean Owen <so...@cloudera.com>
Committed: Wed Sep 7 12:41:03 2016 +0100

----------------------------------------------------------------------
 .../spark/sql/catalyst/expressions/CodeGenerationSuite.scala     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/76ad89e9/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CodeGenerationSuite.scala
----------------------------------------------------------------------
diff --git a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CodeGenerationSuite.scala b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CodeGenerationSuite.scala
index 8ea8f61..0532cf5 100644
--- a/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CodeGenerationSuite.scala
+++ b/sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CodeGenerationSuite.scala
@@ -58,8 +58,8 @@ class CodeGenerationSuite extends SparkFunSuite with ExpressionEvalHelper {
     GenerateOrdering.generate(Add(Literal(123), Literal(1)).asc :: Nil)
     assert(CodegenMetrics.METRIC_COMPILATION_TIME.getCount() == startCount1 + 1)
     assert(CodegenMetrics.METRIC_SOURCE_CODE_SIZE.getCount() == startCount2 + 1)
-    assert(CodegenMetrics.METRIC_GENERATED_CLASS_BYTECODE_SIZE.getCount() > startCount1)
-    assert(CodegenMetrics.METRIC_GENERATED_METHOD_BYTECODE_SIZE.getCount() > startCount1)
+    assert(CodegenMetrics.METRIC_GENERATED_CLASS_BYTECODE_SIZE.getCount() > startCount3)
+    assert(CodegenMetrics.METRIC_GENERATED_METHOD_BYTECODE_SIZE.getCount() > startCount4)
   }
 
   test("SPARK-8443: split wide projections into blocks due to JVM code size limit") {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org