You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by "jingz-db (via GitHub)" <gi...@apache.org> on 2024/08/02 00:14:45 UTC
Re: [PR] [SPARK-49048][SS] Add support for reading relevant operator metadata at given batch id [spark]
jingz-db commented on code in PR #47528:
URL: https://github.com/apache/spark/pull/47528#discussion_r1701033548
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/state/OperatorStateMetadata.scala:
##########
@@ -166,18 +169,36 @@ object OperatorStateMetadataUtils extends Logging {
s"version=${operatorStateMetadata.version}")
}
}
+
+ def getLastOffsetBatch(session: SparkSession, checkpointLocation: String): Long = {
Review Comment:
Nits: If we are calling this function only from test suites, shall we move it into test utils?
--
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-unsubscribe@spark.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org