Skip to content

Commit

Permalink
Fix UT for TPCH 22, since we didn't push down subquery for parquet
Browse files Browse the repository at this point in the history
  • Loading branch information
baibaichen committed Jan 30, 2024
1 parent 0cb0b41 commit 7fcdee7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,7 @@ class GlutenClickHouseColumnarShuffleAQESuite
val adaptiveSparkPlanExec = collectWithSubqueries(df.queryExecution.executedPlan) {
case adaptive: AdaptiveSparkPlanExec => adaptive
}
assert(adaptiveSparkPlanExec.size == 3)
assert(adaptiveSparkPlanExec(1) == adaptiveSparkPlanExec(2))
assert(adaptiveSparkPlanExec.size == 2)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,7 @@ class GlutenClickHousePreferSpillColumnarShuffleAQESuite
val adaptiveSparkPlanExec = collectWithSubqueries(df.queryExecution.executedPlan) {
case adaptive: AdaptiveSparkPlanExec => adaptive
}
assert(adaptiveSparkPlanExec.size == 3)
assert(adaptiveSparkPlanExec(1) == adaptiveSparkPlanExec(2))
assert(adaptiveSparkPlanExec.size == 2)
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,7 @@ class GlutenClickHouseTPCHColumnarShuffleParquetAQESuite
val adaptiveSparkPlanExec = collectWithSubqueries(df.queryExecution.executedPlan) {
case adaptive: AdaptiveSparkPlanExec => adaptive
}
assert(adaptiveSparkPlanExec.size == 3)
assert(adaptiveSparkPlanExec(1) == adaptiveSparkPlanExec(2))
assert(adaptiveSparkPlanExec.size == 2)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@ class GlutenClickHouseRSSColumnarShuffleAQESuite
val adaptiveSparkPlanExec = collectWithSubqueries(df.queryExecution.executedPlan) {
case adaptive: AdaptiveSparkPlanExec => adaptive
}
assert(adaptiveSparkPlanExec.size == 3)
assert(adaptiveSparkPlanExec(1) == adaptiveSparkPlanExec(2))
assert(adaptiveSparkPlanExec.size == 2)
}
}

Expand Down

0 comments on commit 7fcdee7

Please sign in to comment.