Skip to content


AnalyzeTable is a Command for ANALYZE TABLE SQL statement.

Creating Instance

AnalyzeTable takes the following to be created:

AnalyzeTable is created when:

Logical Analysis

AnalyzeTable is resolved to the following logical runnable commands (by ResolveSessionCatalog logical resolution rule):

Query Planning

DataSourceV2Strategy throws an AnalysisException for AnalyzeTables over ResolvedTables:

ANALYZE TABLE is not supported for v2 tables.

Last update: 2021-05-13