Add commands to collect partition and column level statistics in hive.
table/partition level statistics
Optimizer statistics on columns in tables and partitions
Metastore statistics are not being updated for CTAS queries.
Query Optimization Using Column Statistics and Histograms
The optimizer architecture of Hive is terrible, need code refactoring
Cost Based Query optimization for Joins in Hive
Support noscan operation for analyze command