Skip to content

Commit

Permalink
[GLUTEN-4160][CORE] Fix ClassCastException occurred when broadcastJoi…
Browse files Browse the repository at this point in the history
…n is disabled (#4160)
  • Loading branch information
fyp711 committed Dec 27, 2023
1 parent 3e23ad4 commit d4c3747
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 d4c3747

Please sign in to comment.