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:
- Child Logical Operator
- Column Names
-
allColumns
Flag
AnalyzeColumn
requires that either the column names or allColumns flag is defined (as mutually exclusive).
AnalyzeColumn
is created when:
AstBuilder
is requested to parse ANALYZE TABLE FOR COLUMNS statement
Query Planning¶
DataSourceV2Strategy throws an AnalysisException
for AnalyzeColumn
s over ResolvedTable
s:
ANALYZE TABLE is not supported for v2 tables.