Github user efimpoberezkin commented on a diff in the pull request:
https://github.com/apache/spark/pull/21392#discussion_r190160821
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/continuous/EpochCoordinator.scala
---
@@ -45,6 +45,11 @@ private[sql] case object IncrementAndGetEpoch extends
EpochCoordinatorMessage
*/
private[sql] case object StopContinuousExecutionWrites extends
EpochCoordinatorMessage
+/**
+ * Returns boolean indicating if size of the epochs queue has exceeded
maximum epoch backlog.
+ */
+private[sql] case object CheckIfMaxBacklogIsExceeded extends
EpochCoordinatorMessage
--- End diff --
Do you mean make the query fail right from EpochCoordinator? If yes, I
wanted to do so, but didn't figure out how to terminate query with exception.
EpochCoordinator has query: ContinuousExecution as a parameter, but then I
don't see a suitable method for query.. Closest is stop() I guess.
Or am I looking in a completely wrong direction? Please give a hint
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]