Command — Eagerly-Executed Logical Operators¶
Command
is an extension of the LogicalPlan abstraction for logical operators that are executed early in the query plan lifecycle (unlike logical operators in general).
Command
is a marker interface for logical operators that are executed when a Dataset
is requested for the logical plan (which is after the query has been analyzed).
Implementations¶
- AlterTable
- CommentOnTable
- DataWritingCommand
- DeleteFromTable
- DescribeRelation
- MergeIntoTable
- RunnableCommand
- SetCatalogAndNamespace
- ShowTableProperties
- ShowTables
- UpdateTable
- V2WriteCommand
- others
Output Attributes¶
output: Seq[Attribute]
Command
has no output attributes by default.
output
is part of the QueryPlan abstraction.
Child Logical Operators¶
children: Seq[LogicalPlan]
Command
has no child logical operators by default.
children
is part of the TreeNode abstraction.
Statistics¶
stats: Statistics
stats
is part of the LogicalPlanStats abstraction.
Command
has no Statistics by default.