Skip to content

AnalyzeColumnStatement

AnalyzeColumnStatement is a ParsedStatement for ANALYZE TABLE SQL statement.

AnalyzeColumnStatement is resolved to AnalyzeColumnCommand logical command (by ResolveSessionCatalog logical resolution rule).

Creating Instance

AnalyzeColumnStatement takes the following to be created:

  • Table Name (Seq[String])
  • Column Names (optional)
  • allColumns Flag

AnalyzeColumnStatement requires that either columnNames or allColumns to be defined (as mutually exclusive).

AnalyzeColumnStatement is created when AstBuilder is requested to parse ANALYZE TABLE statement


Last update: 2020-10-20