anishshri-db commented on code in PR #45467: URL: https://github.com/apache/spark/pull/45467#discussion_r1523663013
########## sql/api/src/main/scala/org/apache/spark/sql/streaming/StatefulProcessor.scala: ########## @@ -85,3 +85,21 @@ private[sql] trait StatefulProcessor[K, I, O] extends Serializable { statefulProcessorHandle } } + +/** + * Similar usage as StatefulProcessor. Represents the arbitrary stateful logic that needs to Review Comment: Maybe reword this - `Stateful processor with support for specifying initial state. Accepts a user-defined type as initial state to be initialized in the first batch. This can be used for starting a new streaming query with existing state from a previous streaming query` ? -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org