alex-balikov commented on code in PR #38503: URL: https://github.com/apache/spark/pull/38503#discussion_r1014428293
########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/UnsupportedOperationChecker.scala: ########## @@ -157,10 +172,11 @@ object UnsupportedOperationChecker extends Logging { // Disallow multiple streaming aggregations val aggregates = collectStreamingAggregates(plan) - if (aggregates.size > 1) { + if (aggregates.size > 1 && outputMode != InternalOutputModes.Append) { throwError( "Multiple streaming aggregations are not supported with " + Review Comment: and we need to change the message accordingly - 'aggregations' -> 'stateful operators' -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org