[ https://issues.apache.org/jira/browse/SPARK-14577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15238323#comment-15238323 ]
Dongjoon Hyun commented on SPARK-14577: --------------------------------------- In the current Spark architecture, `sql/core` module is designed to depend on `catalyst` module, and `catalyst` module does not access `SQLConf` of `sql/core`. What this issue needs is using configuration without changing any architectural design, isn't it? > spark.sql.codegen.maxCaseBranches config option > ----------------------------------------------- > > Key: SPARK-14577 > URL: https://issues.apache.org/jira/browse/SPARK-14577 > Project: Spark > Issue Type: Improvement > Components: SQL > Reporter: Reynold Xin > > We currently disable codegen for CaseWhen if the number of branches is > greater than 20 (in CaseWhen.MAX_NUM_CASES_FOR_CODEGEN). It would be better > if this value is a non-public config defined in SQLConf. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org