You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2017/12/14 00:32:00 UTC

[jira] [Updated] (SPARK-22669) Avoid unnecessary function calls in code generation

     [ https://issues.apache.org/jira/browse/SPARK-22669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao Li updated SPARK-22669:
----------------------------
    Issue Type: Sub-task  (was: Bug)
        Parent: SPARK-22510

> Avoid unnecessary function calls in code generation
> ---------------------------------------------------
>
>                 Key: SPARK-22669
>                 URL: https://issues.apache.org/jira/browse/SPARK-22669
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 2.3.0
>            Reporter: Marco Gaido
>            Assignee: Marco Gaido
>             Fix For: 2.3.0
>
>
> In many parts of the codebase for code generation, we are splitting the code to avoid exceptions due to the 64KB method size limit. This is generating a lot of methods which are called every time, even though sometime this is not needed. As pointed out here: https://github.com/apache/spark/pull/19752#discussion_r153081547, this is a not negligible overhead which can be avoided.
> In this JIRA, I propose to use the same approach throughout all the other cases, when possible. I am going to submit a PR soon.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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