anishshri-db commented on code in PR #45051:
URL: https://github.com/apache/spark/pull/45051#discussion_r1503733123
##########
sql/api/src/main/scala/org/apache/spark/sql/streaming/StatefulProcessor.scala:
##########
@@ -48,16 +48,19 @@ private[sql] trait StatefulProcessor[K, I, O] extends
Serializable {
* @param inputRows - iterator of input rows associated with grouping key
* @param timerValues - instance of TimerValues that provides access to
current processing/event
* time if available
+ * @param expiredTimerInfo - instance of ExpiredTimerInfo that provides
access to expired timer
+ * if applicable
* @return - Zero or more output rows
*/
def handleInputRows(
key: K,
inputRows: Iterator[I],
- timerValues: TimerValues): Iterator[O]
+ timerValues: TimerValues,
+ expiredTimerInfo: ExpiredTimerInfo): Iterator[O]
Review Comment:
Yea thought of that - but we would have the same problem with the Java API
in the future
--
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]