ExecutedCommandExec Leaf Physical Operator for Command Execution
ExecutedCommandExec is a leaf physical operator for executing logical commands with side effects.
ExecutedCommandExec runs a command and caches the result in sideEffectResult internal attribute.
| Method | Description |
|---|---|
|
Executes |
|
Executing Logical RunnableCommand and Caching Result As InternalRows — sideEffectResult Internal Lazy Attribute
|
1 2 3 4 5 |
sideEffectResult: Seq[InternalRow] |
sideEffectResult requests RunnableCommand to run (that produces a Seq[Row]) and converts the result to Catalyst types using a Catalyst converter function for the schema.
|
Note
|
sideEffectResult is used when ExecutedCommandExec is requested for executeCollect, executeToIterator, executeTake, doExecute.
|
spark技术分享