public static long getTotalSize(Table table) {
    return getBasicStatForTable(table, StatsSetupConst.TOTAL_SIZE);
  }
Get total size of a give table
@return total size
ql/src/java/org/apache/hadoop/hive/ql/stats/StatsUtils.java