HeartSaVioR commented on code in PR #40845:
URL: https://github.com/apache/spark/pull/40845#discussion_r1171861122
##########
sql/core/src/main/scala/org/apache/spark/sql/streaming/StreamingQueryListener.scala:
##########
@@ -55,6 +55,12 @@ abstract class StreamingQueryListener {
*/
def onQueryProgress(event: QueryProgressEvent): Unit
+ /**
+ * Called when the query is idle for a certain time period and waiting for
new data to process.
+ * @since 3.5.0
+ */
+ def onQueryIdle(event: QueryIdleEvent): Unit = {}
Review Comment:
Calling onQueryProgress for default implementation is not feasible as the
purpose is NOT to give the latest progress update on idle.
--
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]