anishshri-db commented on code in PR #45447:
URL: https://github.com/apache/spark/pull/45447#discussion_r1518436424
##########
sql/core/src/test/scala/org/apache/spark/sql/execution/streaming/state/ValueStateSuite.scala:
##########
@@ -93,7 +96,7 @@ class ValueStateSuite extends SharedSparkSession
Encoders.STRING.asInstanceOf[ExpressionEncoder[Any]])
val stateName = "testState"
- val testState: ValueState[Long] = handle.getValueState[Long]("testState")
+ val testState: ValueState[Long] =
handle.getValueState[Long]("testState", Encoders.scalaLong)
Review Comment:
Can we also add a test for other common types such as Double/String etc ?
--
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]