diff options
author | Dongjoon Hyun <dongjoon@apache.org> | 2016-04-19 21:38:15 +0800 |
---|---|---|
committer | Wenchen Fan <wenchen@databricks.com> | 2016-04-19 21:38:15 +0800 |
commit | 3d46d796a3a2b60b37dc318652eded5e992be1e5 (patch) | |
tree | a8157c731edb6f061fa163ef995bd4a839fccfdc /sql/hive/pom.xml | |
parent | 74fe235ab5ed169fb30d9d2c04077b90d1bf1b95 (diff) | |
download | spark-3d46d796a3a2b60b37dc318652eded5e992be1e5.tar.gz spark-3d46d796a3a2b60b37dc318652eded5e992be1e5.tar.bz2 spark-3d46d796a3a2b60b37dc318652eded5e992be1e5.zip |
[SPARK-14577][SQL] Add spark.sql.codegen.maxCaseBranches config option
## What changes were proposed in this pull request?
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.
## How was this patch tested?
Pass the Jenkins tests (including a new testcase `Support spark.sql.codegen.maxCaseBranches option`)
Author: Dongjoon Hyun <dongjoon@apache.org>
Closes #12353 from dongjoon-hyun/SPARK-14577.
Diffstat (limited to 'sql/hive/pom.xml')
0 files changed, 0 insertions, 0 deletions