-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
703614f
commit 68b40f6
Showing
9 changed files
with
168 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# ExecutePlanResponseReattachableIterator | ||
|
||
## Creating Instance | ||
|
||
`ExecutePlanResponseReattachableIterator` takes the following to be created: | ||
|
||
* <span id="request"> `proto.ExecutePlanRequest` | ||
* <span id="channel"> `ManagedChannel` | ||
* <span id="retryHandler"> `GrpcRetryHandler` | ||
|
||
`ExecutePlanResponseReattachableIterator` is created when: | ||
|
||
* `CustomSparkConnectBlockingStub` is requested to [executePlanReattachable](CustomSparkConnectBlockingStub.md#executePlanReattachable) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Reattachable Plan Execution | ||
|
||
**Reattachable Plan Execution** uses `executePlanReattachable` to [execute a plan](client/SparkConnectClient.md#execute). | ||
|
||
Reattachable Plan Execution is [enabled by default](client/Configuration.md#useReattachableExecute) | ||
|
||
Reattachable Plan Execution is configured using [SparkConnectClient.Builder.disableReattachableExecute](client/SparkConnectClient.Builder.md#disableReattachableExecute) and [SparkConnectClient.Builder.enableReattachableExecute](client/SparkConnectClient.Builder.md#enableReattachableExecute) methods. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# ExecuteGrpcResponseSender | ||
|
||
## Creating Instance | ||
|
||
`ExecuteGrpcResponseSender` takes the following to be created: | ||
|
||
* <span id="executeHolder"> [ExecuteHolder](ExecuteHolder.md) | ||
* <span id="grpcObserver"> `StreamObserver[T]` | ||
|
||
`ExecuteGrpcResponseSender` is created when: | ||
|
||
* `SparkConnectExecutePlanHandler` is requested to [handle a ExecutePlanRequest](SparkConnectExecutePlanHandler.md#handle) | ||
* `SparkConnectReattachExecuteHandler` is requested handle a `ReattachExecuteRequest` | ||
|
||
## Run { #run } | ||
|
||
```scala | ||
run( | ||
lastConsumedStreamIndex: Long): Unit | ||
``` | ||
|
||
`run`...FIXME | ||
|
||
--- | ||
|
||
`run` is used when: | ||
|
||
* `ExecuteHolder` is requested to [runGrpcResponseSender](ExecuteHolder.md#runGrpcResponseSender) | ||
|
||
### Execute { #execute } | ||
|
||
```scala | ||
execute( | ||
lastConsumedStreamIndex: Long): Unit | ||
``` | ||
|
||
`execute`...FIXME | ||
|
||
### enqueueProgressMessage { #enqueueProgressMessage } | ||
|
||
```scala | ||
enqueueProgressMessage( | ||
force: Boolean = false): Unit | ||
``` | ||
|
||
`enqueueProgressMessage`...FIXME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,28 @@ | ||
# SparkConnectExecutePlanHandler | ||
|
||
`SparkConnectExecutePlanHandler` is...FIXME | ||
`SparkConnectExecutePlanHandler` is used by [SparkConnectService](SparkConnectService.md) to [executePlan](SparkConnectService.md#executePlan). | ||
|
||
## Creating Instance | ||
|
||
`SparkConnectExecutePlanHandler` takes the following to be created: | ||
|
||
* <span id="responseObserver"> `StreamObserver[proto.ExecutePlanResponse]` | ||
|
||
`SparkConnectExecutePlanHandler` is created when: | ||
|
||
* `SparkConnectService` is requested to [executePlan](SparkConnectService.md#executePlan) | ||
|
||
## Handle ExecutePlanRequest { #handle } | ||
|
||
```scala | ||
handle( | ||
v: proto.ExecutePlanRequest): Unit | ||
``` | ||
|
||
`handle`...FIXME | ||
|
||
--- | ||
|
||
`handle` is used when: | ||
|
||
* `SparkConnectService` is requested to [executePlan](SparkConnectService.md#executePlan) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# SparkConnectReattachExecuteHandler | ||
|
||
`SparkConnectReattachExecuteHandler` is used by [SparkConnectService](SparkConnectService.md) to [reattachExecute](SparkConnectService.md#reattachExecute). | ||
|
||
## Creating Instance | ||
|
||
`SparkConnectReattachExecuteHandler` takes the following to be created: | ||
|
||
* <span id="responseObserver"> `StreamObserver[proto.ExecutePlanResponse]` | ||
|
||
`SparkConnectReattachExecuteHandler` is created when: | ||
|
||
* `SparkConnectService` is requested to [reattachExecute](SparkConnectService.md#reattachExecute) | ||
|
||
## Handle ReattachExecuteRequest { #handle } | ||
|
||
```scala | ||
handle( | ||
v: proto.ReattachExecuteRequest): Unit | ||
``` | ||
|
||
`handle`...FIXME | ||
|
||
--- | ||
|
||
`handle` is used when: | ||
|
||
* `SparkConnectService` is requested to [reattachExecute](SparkConnectService.md#reattachExecute) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters