Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/20599#discussion_r168067551
--- Diff:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/CodeGenerator.scala
---
@@ -1461,20 +1465,19 @@ object CodeGenerator extends Logging {
CodegenMetrics.METRIC_GENERATED_CLASS_BYTECODE_SIZE.update(classBytes.length)
try {
val cf = new ClassFile(new ByteArrayInputStream(classBytes))
- val stats = cf.methodInfos.asScala.flatMap { method =>
+ cf.methodInfos.asScala.flatMap { method =>
--- End diff --
not, but a small clean up.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]