Takeshi Yamamuro created SPARK-21871:
----------------------------------------
Summary: Check actual bytecode size when compiling generated code
Key: SPARK-21871
URL: https://issues.apache.org/jira/browse/SPARK-21871
Project: Spark
Issue Type: Improvement
Components: SQL
Affects Versions: 2.2.0
Reporter: Takeshi Yamamuro
Priority: Minor
In SPARK-21603, we added code to give up code compilation and use interpreter
execution in SparkPlan if the line number of generated functions goes over
maxLinesPerFunction. But, we already have code to collect metrics for compiled
bytecode size in `CodeGenerator` object. So, I think we could easily reuse the
code for this purpose.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]