Skip to content

Commit

Permalink
[GLUTEN-4160][CORE] Fix ClassCastException occurred when fallback bro…
Browse files Browse the repository at this point in the history
…adcast join and broadcast exchange (#4166)

Co-authored-by: Yuping Fan <[email protected]>
  • Loading branch information
fyp711 and fyp711 authored Dec 27, 2023
1 parent 2372de6 commit 73351b9
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -535,8 +535,11 @@ object ExpressionConverter extends SQLConfHelper with Logging {
ColumnarBroadcastExchangeExec(exchange.mode, newChild)
}

if (GlutenConfig.getConf.enableScanOnly) {
// Disable ColumnarSubqueryBroadcast for scan-only execution.
if (
GlutenConfig.getConf.enableScanOnly || !GlutenConfig.getConf.enableColumnarBroadcastExchange
) {
// Disable ColumnarSubqueryBroadcast for scan-only execution
// or ColumnarBroadcastExchange was disabled.
partitionFilters
} else {
val newPartitionFilters = partitionFilters.map {
Expand Down

0 comments on commit 73351b9

Please sign in to comment.