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
-
allColumnsFlag
AnalyzeColumn requires that either the column names or allColumns flag is defined (as mutually exclusive).
AnalyzeColumn is created when:
AstBuilderis requested to parse ANALYZE TABLE FOR COLUMNS statement
Query Planning¶
DataSourceV2Strategy throws an AnalysisException for AnalyzeColumns over ResolvedTables:
ANALYZE TABLE is not supported for v2 tables.