V2CommandExec Physical Commands¶
V2CommandExec
is an extension of the SparkPlan abstraction for physical commands that can be executed and cache the result to prevent multiple executions.
Contract¶
Executing Command¶
run(): Seq[InternalRow]
Executing the command (and computing the result)
See:
Used when:
V2CommandExec
physical command is requested for the result
Implementations¶
LeafV2CommandExec
- ShowCreateTableExec
ShowNamespacesExec
ShowPartitionsExec
- ShowTablesExec
- V2TableWriteExec
Result¶
result: Seq[InternalRow]
result
is the cached result of executing the physical command.
result
is used when:
V2CommandExec
physical command is requested to doExecute, executeCollect, executeToIterator, executeTake or executeTail