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


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/ValueStateImpl.scala:
##########
@@ -32,11 +34,14 @@ import org.apache.spark.sql.types._
  * variables used in the streaming transformWithState operator.
  * @param store - reference to the StateStore instance to be used for storing 
state
  * @param stateName - name of logical state partition
+ * @param keyEnc - Spark SQL encoder for key
+ * @tparam K - data type of key
  * @tparam S - data type of object that will be stored
  */
-class ValueStateImpl[S](
+class ValueStateImpl[K, S](

Review Comment:
   Same here. Created JIRA - https://issues.apache.org/jira/browse/SPARK-46853



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