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



##########
File path: docs/structured-streaming-programming-guide.md
##########
@@ -1763,7 +1763,9 @@ Here is the compatibility matrix.
   <tr>
     <td colspan="2" style="vertical-align: middle;">Queries with 
<code>mapGroupsWithState</code></td>
     <td style="vertical-align: middle;">Update</td>
-    <td style="vertical-align: middle;"></td>
+    <td style="vertical-align: middle;">
+      Aggregations not allowed in a query with <code>mapGroupsWithState</code>.
+    </td>

Review comment:
       `UnsupportedOperationChecker.scala`:
   
   ```scala
   if (m.isMapGroupsWithState) {                       // check 
mapGroupsWithState
     // allowed only in update query output mode and without aggregation
     if (aggsInQuery.nonEmpty) {
       throwError(
         "mapGroupsWithState is not supported with aggregation " +
         "on a streaming DataFrame/Dataset")
     } else if (outputMode != InternalOutputModes.Update) {
       ...
     }
   } ..
   ..
   ```




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