sahnib commented on code in PR #44961:
URL: https://github.com/apache/spark/pull/44961#discussion_r1475219584


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/HDFSBackedStateStoreProvider.scala:
##########
@@ -94,6 +94,10 @@ private[sql] class HDFSBackedStateStoreProvider extends 
StateStoreProvider with
       Iterator[UnsafeRowPair] = {
       map.prefixScan(prefixKey)
     }
+
+    override def valuesIterator(key: UnsafeRow, colFamilyName: String): 
Iterator[UnsafeRow] = {
+      Seq(get(key, colFamilyName)).iterator

Review Comment:
   This used to read the list values (encoded in a single key) for ListState. 
More specifically, its used in ListStateImpl.get() function. (line 45 in 
ListStateImpl.scala). 



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