anishshri-db commented on code in PR #47528: URL: https://github.com/apache/spark/pull/47528#discussion_r1704578675
########## sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/state/metadata/StateMetadataSource.scala: ########## @@ -104,7 +104,15 @@ class StateMetadataTable extends Table with SupportsRead with SupportsMetadataCo if (!options.containsKey("path")) { throw StateDataSourceErrors.requiredOptionUnspecified(PATH) } - new StateMetadataScan(options.get("path")) + + val checkpointLocation = options.get("path") + var batchId = Option(options.get("batchId")).map(_.toLong) Review Comment: Done - created a ticket for this and linked it -- 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