public byte[] getBitVector() {
    // workaround for DN bug in persisting nulls in pg bytea column
    // instead set empty bit vector with header.
    // https://issues.apache.org/jira/browse/HIVE-17836
    if (bitVector != null && bitVector.length == 2 && bitVector[0] == 'H' && bitVector[1] == 'L') {
      return null;
    }
    return bitVector;
  }
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