gaborgsomogyi commented on a change in pull request #26935: URL: https://github.com/apache/spark/pull/26935#discussion_r512505859
########## File path: sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/StateStore.scala ########## @@ -379,6 +428,21 @@ object StateStore extends Logging { @GuardedBy("loadedProviders") private var _coordRef: StateStoreCoordinatorRef = null + /** Get or create a read-only store associated with the id. */ + def getReadOnly( + storeProviderId: StateStoreProviderId, + keySchema: StructType, + valueSchema: StructType, + indexOrdinal: Option[Int], + version: Long, + storeConf: StateStoreConf, + hadoopConf: Configuration): ReadStateStore = { + require(version >= 0) Review comment: OK, makes sense. ---------------------------------------------------------------- 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. 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