@Override
    public byte[] readChar(int id) {
      return dict.decodeToBinary(id).getBytesUnsafe();
    }
The default data column reader for existing Parquet page reader which works for both
dictionary or non dictionary types, Mirror from dictionary encoding path.

HMS metadata can have a typename that is different from the type of the parquet data.
If the data is valid as per the definition of the type in HMS, the data will be returned
as part of hive query.  If the data is invalid, null will be returned.
ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/ParquetDataColumnReaderFactory.java