@Override
  public void setMaxLength(int maxLength) {
    this.maxLength = maxLength;
  }
To support vectorized cast of decimal to string.
ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/CastDecimalToChar.java