关注 spark技术分享,
撸spark源码 玩spark最佳实践

ExecutedCommandExec

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.

Table 1. ExecutedCommandExec’s Methods
Method Description

doExecute

Executes ExecutedCommandExec physical operator (and produces a result as an RDD of internal binary rows

executeCollect

executeTake

executeToIterator

Executing Logical RunnableCommand and Caching Result As InternalRows — sideEffectResult Internal Lazy Attribute

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.
赞(0) 打赏
未经允许不得转载:spark技术分享 » ExecutedCommandExec
分享到: 更多 (0)

关注公众号:spark技术分享

联系我们联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏