viirya commented on a change in pull request #30074:
URL: https://github.com/apache/spark/pull/30074#discussion_r506781777
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/analysis/UnsupportedOperationChecker.scala
##########
@@ -212,11 +212,11 @@ object UnsupportedOperationChecker extends Logging {
case m: FlatMapGroupsWithState if m.isStreaming =>
// Check compatibility with output modes and aggregations in query
- val aggsAfterFlatMapGroups = collectStreamingAggregates(plan)
+ val aggsInQuery = collectStreamingAggregates(plan)
Review comment:
Here it doesn't only collect aggregations after
`FlatMapGroupsWithState`, but all aggregations in the query.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]