Github user tdas commented on a diff in the pull request:
https://github.com/apache/spark/pull/20710#discussion_r171993716
--- Diff:
sql/core/src/main/java/org/apache/spark/sql/sources/v2/writer/DataWriterFactory.java
---
@@ -48,6 +48,9 @@
* same task id but different attempt number, which
means there are multiple
* tasks with the same task id running at the same
time. Implementations can
* use this attempt number to distinguish writers
of different task attempts.
+ * @param epochId A monotonically increasing id for streaming queries
that are split in to
+ * discrete periods of execution. For queries that
execute as a single batch, this
--- End diff --
Also, make it clear that, this is batchId for MicroBatch processing and
epochId for Continuous processing
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]