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
  • Loading branch information
Yuping Fan committed Dec 27, 2023
1 parent 3e23ad4 commit 67b7cdc
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 67b7cdc

Please sign in to comment.