Details
-
Improvement
-
Status: Closed
-
Trivial
-
Resolution: Duplicate
-
None
-
None
-
None
Description
while experimenting with structure streaming. I found that mode() is used for non-continuous queries while outputMode() is used for continuous queries.
ouputMode is not defined, so I have written the some raw implementation and test cases just to make sure the streaming app works
Note:-
/** Start a query */
private[sql] def startQuery(
name: String,
checkpointLocation: String,
df: DataFrame,
sink: Sink,
trigger: Trigger = ProcessingTime(0),
triggerClock: Clock = new SystemClock(),
outputMode: OutputMode = Append): ContinuousQuery = {
As per me outputMode should be defined before triggerClock, the constructor with outputMode defined will be used more often then triggerClock.
I have added triggerClock() method also
Attachments
Issue Links
- is duplicated by
-
SPARK-15517 Add support for complete output mode
- Resolved
- links to