ANALYZE TABLE [db_name.]table_name COMPUTE STATISTICS analyze_option
Write statistics about a table into the underlying metastore for future query optimizations. Currently the only analyze option supported is
NOSCAN, which means the table won’t be scanned to generate the statistics. This command is only supported for tables created using the Hive format.