> Is there any way to access the column statistics for the whole table? There's no column statistics for the whole table - the only way to get one is to merge all the partition column statistics.
The metastore API actually exposes this (if you're looking for schema info to read in a program). https://hive.apache.org/javadocs/r2.0.1/api/org/apache/hadoop/hive/metastor e/api/ThriftHiveMetastore.Processor.get_aggr_stats_for.html + https://github.com/apache/hive/blob/master/itests/hive-unit/src/test/java/o rg/apache/hadoop/hive/metastore/hbase/TestHBaseAggrStatsCacheIntegration.ja va#L184 Cheers, Gopal