public void setHistogram(byte[] histogram) {
    // workaround for DN bug in persisting nulls in pg bytea column instead set empty histogram.
    // https://issues.apache.org/jira/browse/HIVE-17836
    this.histogram = (histogram == null ? new byte[] { } : histogram);
  }
MPartitionColumnStatistics - Represents Hive's partiton level Column Statistics Description.
The fields in this class with the exception of partition are persisted in the metastore.
In case of partition, part_id is persisted in its place.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/model/MPartitionColumnStatistics.java