You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/declarative-pipelines/StreamingFlow.md
+21-4Lines changed: 21 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,16 +2,33 @@
2
2
3
3
`StreamingFlow` is a [ResolvedFlow](ResolvedFlow.md) that may or may not be [append](#mustBeAppend).
4
4
5
-
`StreamingFlow` is planned for execution as [StreamingTableWrite](StreamingTableWrite.md)by [FlowPlanner](FlowPlanner.md#plan).
5
+
`StreamingFlow` is [planned for execution](FlowPlanner.md#plan) as [StreamingTableWrite](StreamingTableWrite.md)(assuming that the [Output](DataflowGraph.md#output) of [this flow](#flow)'s [destination](ResolutionCompletedFlow.md#destinationIdentifier) is a [Table](Table.md)).
6
6
7
7
## Creating Instance
8
8
9
9
`StreamingFlow` takes the following to be created:
*`FlowResolver` is requested to [convertResolvedToTypedFlow](FlowResolver.md#convertResolvedToTypedFlow) (for [UnresolvedFlow](UnresolvedFlow.md)s with their results being streaming dataframes)
18
+
19
+
### mustBeAppend Flag { #mustBeAppend }
20
+
21
+
```scala
22
+
mustBeAppend:Boolean
23
+
```
24
+
25
+
`StreamingFlow` is given `mustBeAppend` flag when [created](#creating-instance).
26
+
27
+
Default: `false`
28
+
29
+
The value of `mustBeAppend` flag is based on whether there are more than one flow to [this flow](#flow)'s [destination](UnresolvedFlow.md#destinationIdentifier) in a dataflow graph or not.
30
+
31
+
When enabled (`true`), [this UnresolvedFlow](#flow) is planned for execution with the `Append` output mode (as the other flows will then get their results overwritten).
`StreamingFlow` is planned for execution as [StreamingTableWrite](StreamingTableWrite.md) with no execution differences based on the `mustBeAppend` flag.
0 commit comments