private static void addDoubleStats(ColumnStatisticsData statistics, Map<String, Object> result) {
    if (statistics.getDoubleStats().isSetLowValue()) {
      result.put(COLUMN_MIN, statistics.getDoubleStats().getLowValue());
    }
    if (statistics.getDoubleStats().isSetHighValue()) {
      result.put(COLUMN_MAX, statistics.getDoubleStats().getHighValue());
    }
    if (statistics.getDoubleStats().isSetNumNulls()) {
      result.put(COLUMN_NUM_NULLS, statistics.getDoubleStats().getNumNulls());
    }
    if (statistics.getDoubleStats().isSetNumDVs()) {
      result.put(COLUMN_DISTINCT_COUNT, statistics.getDoubleStats().getNumDVs());
    }
  }
Formats DESC TABLE results to json format.
ql/src/java/org/apache/hadoop/hive/ql/ddl/table/info/desc/formatter/JsonDescTableFormatter.java