Skip to content

Commit

Permalink
[SPARK-33456][SQL][TEST][FOLLOWUP] Fix SUBEXPRESSION_ELIMINATION_ENAB…
Browse files Browse the repository at this point in the history
…LED config name

### What changes were proposed in this pull request?

To fix wrong config name in `subexp-elimination.sql`.

### Why are the changes needed?

`CONFIG_DIM` should use config name's key.

### Does this PR introduce _any_ user-facing change?

No, dev only.

### How was this patch tested?

Unit test.

Closes #30384 from viirya/SPARK-33456-followup.

Authored-by: Liang-Chi Hsieh <viirya@gmail.com>
Signed-off-by: HyukjinKwon <gurwls223@apache.org>
  • Loading branch information
viirya authored and HyukjinKwon committed Nov 16, 2020
1 parent 8615f35 commit 10b011f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
--CONFIG_DIM2 spark.sql.codegen.factoryMode=CODEGEN_ONLY
--CONFIG_DIM2 spark.sql.codegen.factoryMode=NO_CODEGEN

--CONFIG_DIM3 SUBEXPRESSION_ELIMINATION_ENABLED=true
--CONFIG_DIM3 SUBEXPRESSION_ELIMINATION_ENABLED=false
--CONFIG_DIM3 spark.sql.subexpressionElimination.enabled=true
--CONFIG_DIM3 spark.sql.subexpressionElimination.enabled=false

-- Test data.
CREATE OR REPLACE TEMPORARY VIEW testData AS SELECT * FROM VALUES
Expand Down

0 comments on commit 10b011f

Please sign in to comment.