public String vectorExpressionParameters() {
    return getColumnParamString(0, inputColumnNum[0]) + ", maxLength " + maxLength;
  }
Do right trim and truncate for CHAR.
ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/CastStringGroupToChar.java