Skip to content

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:

markAsAnalyzed

markAsAnalyzed(
  analysisContext: AnalysisContext): LogicalPlan

Used when:

  • HandleSpecialCommand logical analysis rule is executed

Implementations

  • AlterViewAsCommand
  • CacheTable
  • CacheTableAsSelect
  • CreateViewCommand
  • UncacheTable
  • V2CreateTableAsSelectPlan