liviazhu commented on code in PR #52202: URL: https://github.com/apache/spark/pull/52202#discussion_r2331412193
########## sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/operators/stateful/join/SymmetricHashJoinStateManager.scala: ########## @@ -1280,3 +1300,35 @@ object SymmetricHashJoinStateManager { } } } + +/** + * Options controlling snapshot-based state replay for state data source reader. + */ +case class SnapshotOptions( + snapshotVersion: Long, + endVersion: Long, + startKeyToNumValuesStateStoreCkptId: Option[String] = None, + startKeyWithIndexToValueStateStoreCkptId: Option[String] = None, + endKeyToNumValuesStateStoreCkptId: Option[String] = None, + endKeyWithIndexToValueStateStoreCkptId: Option[String] = None) { + def getKeyToNumValuesHandlerOpts(): HandlerSnapshotOptions = Review Comment: nit: indents seem wrong -- 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