diff options
author | Srinivasa Reddy Vundela <vsr@cloudera.com> | 2016-09-07 12:41:03 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-09-07 12:41:03 +0100 |
commit | 76ad89e9241fb2dece95dd445661dd95ee4ef699 (patch) | |
tree | 0f251d7e1b086f4bfd038ee50aa519fcabfcd1a5 /sql/catalyst/src | |
parent | 6f4aeccf8cdfe0b5bdf77165711a9062a52d9d90 (diff) | |
download | spark-76ad89e9241fb2dece95dd445661dd95ee4ef699.tar.gz spark-76ad89e9241fb2dece95dd445661dd95ee4ef699.tar.bz2 spark-76ad89e9241fb2dece95dd445661dd95ee4ef699.zip |
[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 <vsr@cloudera.com>
Closes #14989 from vundela/typo_fix.
Diffstat (limited to 'sql/catalyst/src')
-rw-r--r-- | sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/expressions/CodeGenerationSuite.scala | 4 |
1 files changed, 2 insertions, 2 deletions
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 8ea8f61150..0532cf5113 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") { |