You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yang Jie (Jira)" <ji...@apache.org> on 2021/05/13 09:34:00 UTC

[jira] [Created] (SPARK-35398) Simplify the way to get classes from ClassBodyEvaluator in CodeGenerator.updateAndGetCompilationStats method

Yang Jie created SPARK-35398:
--------------------------------

             Summary: Simplify the way to get classes from ClassBodyEvaluator in CodeGenerator.updateAndGetCompilationStats method
                 Key: SPARK-35398
                 URL: https://issues.apache.org/jira/browse/SPARK-35398
             Project: Spark
          Issue Type: Improvement
          Components: SQL
    Affects Versions: 3.2.0
            Reporter: Yang Jie


SPARK-35253 upgraded janino from 3.0.16 to 3.1.4, {{ClassBodyEvaluator}} provides the {{getBytecodes}} method to get
the mapping from {{ClassFile.getThisClassName}} to {{ClassFile.toByteArray}} directly in this version and we don't need to get this variable by reflection api anymore.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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