diff --git a/presto-native-execution/presto_cpp/main/types/PrestoToVeloxQueryPlan.cpp b/presto-native-execution/presto_cpp/main/types/PrestoToVeloxQueryPlan.cpp index f84ed68c18224..43492f1193022 100644 --- a/presto-native-execution/presto_cpp/main/types/PrestoToVeloxQueryPlan.cpp +++ b/presto-native-execution/presto_cpp/main/types/PrestoToVeloxQueryPlan.cpp @@ -989,7 +989,11 @@ VeloxQueryPlanConverterBase::toVeloxQueryPlan( bool streamable = !node->preGroupedVariables.empty() && node->groupingSets.groupingSetCount == 1 && node->groupingSets.globalGroupingSets.empty(); - + // TODO karteekmurthys@ Re-enable after + // fixing:https://github.com/prestodb/presto/issues/22585 + if (streamable) { + VELOX_UNSUPPORTED("StreamingAggregation is not supported"); + } // groupIdField and globalGroupingSets are required for producing default // output rows for global grouping sets when there are no input rows. // Global grouping sets can be present without groupIdField in Final