diff --git a/cpp/bolt/compute/WholeStageResultIterator.cc b/cpp/bolt/compute/WholeStageResultIterator.cc index a4db2117179a..50b742923546 100644 --- a/cpp/bolt/compute/WholeStageResultIterator.cc +++ b/cpp/bolt/compute/WholeStageResultIterator.cc @@ -782,8 +782,10 @@ std::unordered_map WholeStageResultIterator::getQueryC std::to_string(boltCfg_->get(kAdaptiveSkippedDataSizeThreshold, 20UL << 30)); configs[bolt::core::QueryConfig::kMaxHashTableSize] = std::to_string(boltCfg_->get(kMaxHashTableSize, 50L << 20)); + // Default hashAggregationCompositeOutputEnabled to false because CompositeVector is + // not compatible with shuffle batch resize on the latest OSS Gluten configs[bolt::core::QueryConfig::kHashAggregationCompositeOutputEnabled] = - std::to_string(boltCfg_->get(kHashAggregationCompositeOutputEnabled, true)); + std::to_string(boltCfg_->get(kHashAggregationCompositeOutputEnabled, false)); configs[bolt::core::QueryConfig::kHashAggregationUniqueRowOpt] = std::to_string(boltCfg_->get(kHashAggregationUniqueRowOpt, true)); configs[bolt::core::QueryConfig::kHashAggregationCompositeOutputAccumulatorRatio] =