aboutsummaryrefslogtreecommitdiff
path: root/sql/hive/src/main/scala/org/apache
diff options
context:
space:
mode:
authorDongjoon Hyun <dongjoon@apache.org>2016-04-19 21:38:15 +0800
committerWenchen Fan <wenchen@databricks.com>2016-04-19 21:38:15 +0800
commit3d46d796a3a2b60b37dc318652eded5e992be1e5 (patch)
treea8157c731edb6f061fa163ef995bd4a839fccfdc /sql/hive/src/main/scala/org/apache
parent74fe235ab5ed169fb30d9d2c04077b90d1bf1b95 (diff)
downloadspark-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/src/main/scala/org/apache')
0 files changed, 0 insertions, 0 deletions