Skip to content

Commit

Permalink
fix ut failed
Browse files Browse the repository at this point in the history
  • Loading branch information
liuneng1994 committed Nov 14, 2023
1 parent d825d3d commit 7e54520
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,10 @@ class GlutenAdaptiveQueryExecSuite extends AdaptiveQueryExecSuite with GlutenSQL
test("gluten Exchange reuse") {
withSQLConf(
SQLConf.ADAPTIVE_EXECUTION_ENABLED.key -> "true",
SQLConf.AUTO_BROADCASTJOIN_THRESHOLD.key -> "100",
SQLConf.SHUFFLE_PARTITIONS.key -> "5") {
// magic threshold, ch backend has two bhj when threshold is 100
SQLConf.AUTO_BROADCASTJOIN_THRESHOLD.key -> "90",
SQLConf.SHUFFLE_PARTITIONS.key -> "5"
) {
val (plan, adaptivePlan) = runAdaptiveAndVerifyResult(
"SELECT value FROM testData join testData2 ON key = a " +
"join (SELECT value v from testData join testData3 ON key = a) on value = v")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,10 @@ class GlutenAdaptiveQueryExecSuite extends AdaptiveQueryExecSuite with GlutenSQL
test("gluten Exchange reuse") {
withSQLConf(
SQLConf.ADAPTIVE_EXECUTION_ENABLED.key -> "true",
SQLConf.AUTO_BROADCASTJOIN_THRESHOLD.key -> "100",
SQLConf.SHUFFLE_PARTITIONS.key -> "5") {
// magic threshold, ch backend has two bhj when threshold is 100
SQLConf.AUTO_BROADCASTJOIN_THRESHOLD.key -> "90",
SQLConf.SHUFFLE_PARTITIONS.key -> "5"
) {
val (plan, adaptivePlan) = runAdaptiveAndVerifyResult(
"SELECT value FROM testData join testData2 ON key = a " +
"join (SELECT value v from testData join testData3 ON key = a) on value = v")
Expand Down

0 comments on commit 7e54520

Please sign in to comment.