protected String enforceMaxLength(String value) {
      return HiveBaseChar.enforceMaxLength(value, length);
    }
Enforce the max length of varchar or char.
ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/ParquetDataColumnReaderFactory.java