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 2018/02/07 01:40:02 UTC

[jira] [Updated] (SPARK-22226) splitExpression can create too many method calls (generating a Constant Pool limit error)

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

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

> splitExpression can create too many method calls (generating a Constant Pool limit error)
> -----------------------------------------------------------------------------------------
>
>                 Key: SPARK-22226
>                 URL: https://issues.apache.org/jira/browse/SPARK-22226
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 2.2.0
>            Reporter: Marco Gaido
>            Assignee: Marco Gaido
>            Priority: Major
>             Fix For: 2.3.0
>
>
> Code generation for very wide datasets can fail because of the Constant Pool limit reached.
> This can be caused by many reasons. One of them is that we are currently splitting the definition of the generated methods among several {{NestedClass}} but all these methods are called in the main class. Since we have entries added to the constant pool for each method invocation, this is limiting the number of rows and is leading for very wide dataset to:
> {noformat}
> org.codehaus.janino.JaninoRuntimeException: Constant pool for class org.apache.spark.sql.catalyst.expressions.GeneratedClass$SpecificMutableProjection has grown past JVM limit of 0xFFFF
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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