Github user brkyvz commented on a diff in the pull request: https://github.com/apache/spark/pull/15949#discussion_r89017675 --- Diff: sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/StreamExecution.scala --- @@ -38,6 +40,26 @@ import org.apache.spark.sql.streaming._ import org.apache.spark.util.{Clock, UninterruptibleThread, Utils} /** + * Contains metadata associated with a stream execution. This information is + * persisted to the offset log via the OffsetSeq metadata field. Current + * information contained in this object includes: + * + * 1. currentEventTimeWatermark: The current eventTime watermark, used to + * bound the lateness of data that will processed. + * 2. currentBatchTimestamp: The current batch processing timestamp + */ +case class StreamExecutionMetadata( + var currentEventTimeWatermark: Long = 0, + var currentBatchTimestamp: Long = 0) { --- End diff -- Shall we name this as `currentBatchTimestampSecs` to clarify that this is in seconds?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org