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



##########
File path: sql/core/src/main/java/org/apache/spark/sql/streaming/Trigger.java
##########
@@ -89,15 +90,23 @@ public static Trigger ProcessingTime(String interval) {
   }
 
   /**
-   * A trigger that process only one batch of data in a streaming query then 
terminates
-   * the query.
+   * A trigger that processes all available data in a single batch then 
terminates the query.

Review comment:
       Maybe add "For better scalability,  `AvailableNow` can be used 
alternatively to process it in multiple batches.".




-- 
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: [email protected]

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