anishshri-db commented on code in PR #48317:
URL: https://github.com/apache/spark/pull/48317#discussion_r1805614828
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/ListStateImplWithTTL.scala:
##########
@@ -99,6 +108,7 @@ class ListStateImplWithTTL[S](
val encodedKey = stateTypesEncoder.encodeGroupingKey()
var isFirst = true
+ var entryCount = getEntryCount(encodedKey)
Review Comment:
This one is fine right ? we are only appending here - so we need to read the
count prior ?
--
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]