ericm-db commented on code in PR #49277: URL: https://github.com/apache/spark/pull/49277#discussion_r1913572313
########## sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/OperatorStateMetadata.scala: ########## @@ -468,7 +468,8 @@ class OperatorStateMetadataV2FileManager( // find the batchId of the earliest schema file we need to keep val earliestBatchToKeep = latestMetadata match { case Some(OperatorStateMetadataV2(_, stateStoreInfo, _)) => - val schemaFilePath = stateStoreInfo.head.stateSchemaFilePath + val ssInfo = stateStoreInfo.head Review Comment: The head is the first schema file of this operator. The other elements are the subsequent schema files. -- 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