DataWritingCommandExec Physical Operator¶
DataWritingCommandExec takes the following to be created:
DataWritingCommandExec is created when:
- BasicOperators execution planning strategy is requested to plan a DataWritingCommand logical command
metrics: Map[String, SQLMetric]
metrics is part of the SparkPlan abstraction.
sideEffectResult is a Scala lazy value to guarantee that the code to initialize it is executed once only (when accessed for the first time) and the computed value never changes afterwards.
Learn more in the Scala Language Specification.
DataWritingCommandExecis requested to executeCollect, executeToIterator, executeTake, executeTail and doExecute
Executing Physical Operator¶
doExecute is part of the SparkPlan abstraction.