anishshri-db commented on code in PR #44903:
URL: https://github.com/apache/spark/pull/44903#discussion_r1471790142


##########
sql/api/src/main/scala/org/apache/spark/sql/streaming/StatefulProcessorHandle.scala:
##########
@@ -43,4 +43,9 @@ private[sql] trait StatefulProcessorHandle extends 
Serializable {
 
   /** Function to return queryInfo for currently running task */
   def getQueryInfo(): QueryInfo
+
+  /** Function to delete state info if it exists and return state that was 
previously there
+   * @param stateName - name of the state variable
+   * */

Review Comment:
   Nit: comment formatting seems off ?



##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StatefulProcessorHandleImpl.scala:
##########
@@ -117,4 +117,15 @@ class StatefulProcessorHandleImpl(store: StateStore, 
runId: UUID)
   }
 
   override def getQueryInfo(): QueryInfo = currQueryInfo
+
+  /** Function to delete state info if it exists and return state that was 
previously there
+   *
+   * @param stateName  - name of the state variable
+   * */

Review Comment:
   same here ?



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