[jira] [Commented] (SPARK-22520) Support code generation also for complex CASE WHEN
[ https://issues.apache.org/jira/browse/SPARK-22520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16268371#comment-16268371 ] Apache Spark commented on SPARK-22520: -- User 'cloud-fan' has created a pull request for this issue: https://github.com/apache/spark/pull/19830 > Support code generation also for complex CASE WHEN > -- > > Key: SPARK-22520 > URL: https://issues.apache.org/jira/browse/SPARK-22520 > Project: Spark > Issue Type: Improvement > Components: SQL >Affects Versions: 2.3.0 >Reporter: Marco Gaido >Assignee: Marco Gaido >Priority: Minor > Fix For: 2.3.0 > > > Code generation is disabled for CaseWhen when the number of branches is > higher than {{spark.sql.codegen.maxCaseBranches}} (which defaults to 20). > This was done in SPARK-13242 to prevent the well known 64KB method limit > exception. > This tickets proposes to support code generation also in those cases (without > causing exceptions of course). As a side effect, we could get rid of the > {{spark.sql.codegen.maxCaseBranches}} configuration. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org
[jira] [Commented] (SPARK-22520) Support code generation also for complex CASE WHEN
[ https://issues.apache.org/jira/browse/SPARK-22520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16252561#comment-16252561 ] Apache Spark commented on SPARK-22520: -- User 'mgaido91' has created a pull request for this issue: https://github.com/apache/spark/pull/19752 > Support code generation also for complex CASE WHEN > -- > > Key: SPARK-22520 > URL: https://issues.apache.org/jira/browse/SPARK-22520 > Project: Spark > Issue Type: Improvement > Components: SQL >Affects Versions: 2.3.0 >Reporter: Marco Gaido >Priority: Minor > > Code generation is disabled for CaseWhen when the number of branches is > higher than {{spark.sql.codegen.maxCaseBranches}} (which defaults to 20). > This was done in SPARK-13242 to prevent the well known 64KB method limit > exception. > This tickets proposes to support code generation also in those cases (without > causing exceptions of course). As a side effect, we could get rid of the > {{spark.sql.codegen.maxCaseBranches}} configuration. -- This message was sent by Atlassian JIRA (v6.4.14#64029) - To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org