HeartSaVioR commented on code in PR #37213:
URL: https://github.com/apache/spark/pull/37213#discussion_r925101811


##########
docs/structured-streaming-programming-guide.md:
##########
@@ -2824,12 +2824,6 @@ df.writeStream
   .trigger(Trigger.ProcessingTime("2 seconds"))
   .start()
 
-// One-time trigger
-df.writeStream
-  .format("console")
-  .trigger(Trigger.Once())
-  .start()
-

Review Comment:
   Yeah not sure what would be a good way to do. While we can do aggressively 
via removing all occurrences about Trigger.Once, probably marking as deprecated 
without removing the content might make more sense as we still have users 
leveraging Trigger.Once.



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