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 5, 2023
1 parent e774fa6 commit e0e8249
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 @@ -438,8 +438,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 @@ -438,8 +438,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 e0e8249

Please sign in to comment.