HeartSaVioR commented on code in PR #49523:
URL: https://github.com/apache/spark/pull/49523#discussion_r1917624471


##########
sql/core/src/test/scala/org/apache/spark/sql/execution/streaming/state/RocksDBStateStoreCheckpointFormatV2Suite.scala:
##########
@@ -622,8 +622,8 @@ class RocksDBStateStoreCheckpointFormatV2Suite extends 
StreamTest
     val metadata = commitLog.get(Some(0), Some(1)).map(_._2)
 
     val versionToUniqueIdFromCommitLog = metadata.zipWithIndex.map { case 
(metadata, idx) =>
-      // Use stateUniqueIds(0) because there is only one state operator
-      val res2 = metadata.stateUniqueIds(0).map { uniqueIds =>
+      // Use stateUniqueIds.head(0) because there is only one state operator
+      val res2 = metadata.stateUniqueIds.head(0).map { uniqueIds =>

Review Comment:
   Never mind it was merged already.



-- 
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: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to