Github user zsxwing commented on a diff in the pull request:
https://github.com/apache/spark/pull/17216#discussion_r105050897
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/OffsetSeq.scala
---
@@ -71,7 +71,10 @@ object OffsetSeq {
* @param batchTimestampMs: The current batch processing timestamp.
* Time unit: milliseconds
*/
-case class OffsetSeqMetadata(var batchWatermarkMs: Long = 0, var
batchTimestampMs: Long = 0) {
+case class OffsetSeqMetadata(
+ var batchWatermarkMs: Long = 0,
+ var batchTimestampMs: Long = 0,
+ var numShufflePartitions: Int = 0) {
--- End diff --
It's better to use `conf: Map[String, String]` here because we probably
will add more confs to this class in future.
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]