AnalysisOnlyCommand Logical Operators¶
AnalysisOnlyCommand is an extension of the Command abstraction for logical commands that can be notified when analysis is done.
Contract¶
childrenToAnalyze¶
childrenToAnalyze: Seq[LogicalPlan]
isAnalyzed¶
isAnalyzed: Boolean
Whether this command is analyzed or not
Used when:
AnalysisOnlyCommandis requested for the children and innerChildren
markAsAnalyzed¶
markAsAnalyzed(
analysisContext: AnalysisContext): LogicalPlan
Used when:
HandleSpecialCommandlogical analysis rule is executed
Implementations¶
AlterViewAsCommandCacheTableCacheTableAsSelect- CreateViewCommand
UncacheTableV2CreateTableAsSelectPlan