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
`handlePipelinesCommand`[defines a flow](#defineFlow).
51
57
52
-
### startRun { #startRun }
58
+
### Start Pipeline { #startRun }
53
59
54
60
```scala
55
61
startRun(
@@ -58,9 +64,21 @@ startRun(
58
64
sessionHolder: SessionHolder):Unit
59
65
```
60
66
61
-
`startRun`...FIXME
67
+
`startRun` prints out the following INFO message to the logs:
68
+
69
+
```text
70
+
Start pipeline cmd received: [cmd]
71
+
```
72
+
73
+
`startRun` finds the [GraphRegistrationContext](GraphRegistrationContext.md) by `dataflowGraphId` in the [DataflowGraphRegistry](DataflowGraphRegistry.md) (in the given `SessionHolder`).
74
+
75
+
`startRun` creates a `PipelineEventSender` to send pipeline events back to the Spark Connect client (_Python pipeline runtime_).
76
+
77
+
`startRun` creates a [PipelineUpdateContextImpl](PipelineUpdateContextImpl.md) (with the `PipelineEventSender`).
78
+
79
+
In the end, `startRun` requests the `PipelineUpdateContextImpl` for the [PipelineExecution](PipelineExecution.md) to [runPipeline](PipelineExecution.md#runPipeline) or [dryRunPipeline](PipelineExecution.md#dryRunPipeline) for `dry-run` or `run` command, respectively.
0 commit comments