viirya commented on a change in pull request #30074:
URL: https://github.com/apache/spark/pull/30074#discussion_r506778236



##########
File path: docs/structured-streaming-programming-guide.md
##########
@@ -1777,7 +1779,7 @@ Here is the compatibility matrix.
     <td style="vertical-align: middle;">Update operation mode</td>
     <td style="vertical-align: middle;">Update</td>
     <td style="vertical-align: middle;">
-      Aggregations not allowed after <code>flatMapGroupsWithState</code>.
+      Aggregations not allowed in a query with 
<code>flatMapGroupsWithState</code>.

Review comment:
       Aggregations are not just disallowed after `flatMapGroupsWithState` in 
in update mode. It is disallowed in the query. 
   
   `org.apache.spark.sql.catalyst.analysis.UnsupportedOperationsSuite`:
   
   ```
   [info] - streaming plan - flatMapGroupsWithState - 
flatMapGroupsWithState(Update) on streaming relation with aggregation in Append 
mode: not supported 
   [info] - streaming plan - flatMapGroupsWithState - 
flatMapGroupsWithState(Update) on streaming relation with aggregation in Update 
mode: not supported 
   [info] - streaming plan - flatMapGroupsWithState - 
flatMapGroupsWithState(Update) on streaming relation with aggregation in 
Complete mode: not supported
   ```
   




----------------------------------------------------------------
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]

Reply via email to