Skip to content

AnalyzeColumn Logical Command

AnalyzeColumn is a Command for ANALYZE TABLE FOR COLUMNS SQL statement.

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

Creating Instance

AnalyzeColumn takes the following to be created:

AnalyzeColumn requires that either the column names or allColumns flag is defined (as mutually exclusive).

AnalyzeColumn is created when:

Query Planning

DataSourceV2Strategy throws an AnalysisException for AnalyzeColumns over ResolvedTables:

ANALYZE TABLE is not supported for v2 tables.