anishshri-db commented on code in PR #44989:
URL: https://github.com/apache/spark/pull/44989#discussion_r1476794070
##########
sql/api/src/main/scala/org/apache/spark/sql/streaming/StatefulProcessorHandle.scala:
##########
@@ -36,7 +37,7 @@ private[sql] trait StatefulProcessorHandle extends
Serializable {
* @tparam T - type of state variable
* @return - instance of ValueState of type T that can be used to store
state persistently
*/
- def getValueState[T](stateName: String): ValueState[T]
+ def getValueState[T](stateName: String, valEncoder: Encoder[T]):
ValueState[T]
Review Comment:
add to function comment
--
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]