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
`createFlowFunctionFromLogicalPlan` takes a [LogicalPlan](../logical-operators/LogicalPlan.md) and creates a [FlowFunction](FlowFunction.md).
19
+
`createFlowFunctionFromLogicalPlan` takes a [LogicalPlan](../logical-operators/LogicalPlan.md)(that represents one of the supported logical commands) and creates a [FlowFunction](FlowFunction.md).
20
20
21
21
When [executed](FlowFunction.md#call), this `FlowFunction` creates a [FlowAnalysisContext](FlowAnalysisContext.md).
22
22
23
-
`FlowFunction` uses this `FlowAnalysisContext` to [setConf](#setConf) the given SQL configs (to the [FlowFunction](FlowFunction.md#call)).
23
+
`FlowFunction` uses this `FlowAnalysisContext` to [set the SQL configs](FlowAnalysisContext.md#setConf) (given to the [FlowFunction](FlowFunction.md#call) being defined).
24
24
25
25
`FlowFunction`[analyze](#analyze) this `LogicalPlan` (with the `FlowAnalysisContext`). This gives the result data (as a `DataFrame`).
26
26
@@ -37,3 +37,31 @@ In the end, `FlowFunction` creates a [FlowFunctionResult](FlowFunctionResult.md)
Copy file name to clipboardExpand all lines: docs/declarative-pipelines/PipelinesHandler.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -166,13 +166,16 @@ defineFlow(
166
166
167
167
`defineFlow` looks up the [GraphRegistrationContext](DataflowGraphRegistry.md#getDataflowGraphOrThrow) for the given `flow` (or throws a `SparkException` if not found).
168
168
169
-
!!! note "Implicit Flows"
170
-
An **implicit flow** is a flow with the name of the target dataset (i.e. one defined as part of dataset creation).
169
+
??? note "Implicit Flows"
170
+
**Implicit Flows** are flows with the name of the target datasets (i.e. one defined as part of dataset creation).
171
+
172
+
Implicit flows can be defined with multi-part identifiers (as the corresponding datasets).
173
+
174
+
Multi-part identifiers are composed of catalog, schema and table parts (separated by `.` (dot)).
171
175
172
176
`defineFlow`[creates a flow identifier](GraphIdentifierManager.md#parseTableIdentifier) (for the `flow` name).
173
177
174
178
??? note "AnalysisException"
175
179
`defineFlow` reports an `AnalysisException` if the given `flow` is not an implicit flow, but is defined with a multi-part identifier.
176
180
177
-
In the end, `defineFlow`[registers a flow](GraphRegistrationContext.md#registerFlow).
178
-
181
+
In the end, `defineFlow`[registers a flow](GraphRegistrationContext.md#registerFlow) (with a proper [FlowFunction](FlowAnalysis.md#createFlowFunctionFromLogicalPlan)).
0 commit comments