viirya commented on a change in pull request #26935:
URL: https://github.com/apache/spark/pull/26935#discussion_r491243565
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/statefulOperators.scala
##########
@@ -253,7 +253,8 @@ case class StateStoreRestoreExec(
stateManager.getStateValueSchema,
indexOrdinal = None,
sqlContext.sessionState,
- Some(sqlContext.streams.stateStoreCoordinator)) { case (store, iter) =>
+ Some(sqlContext.streams.stateStoreCoordinator),
+ readOnly = true) { case (store, iter) =>
Review comment:
Is this only place we use read-only state store?
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/statefulOperators.scala
##########
@@ -253,7 +253,8 @@ case class StateStoreRestoreExec(
stateManager.getStateValueSchema,
indexOrdinal = None,
sqlContext.sessionState,
- Some(sqlContext.streams.stateStoreCoordinator)) { case (store, iter) =>
+ Some(sqlContext.streams.stateStoreCoordinator),
+ readOnly = true) { case (store, iter) =>
Review comment:
Is this the only place we use read-only state store?
----------------------------------------------------------------
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:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]