public String vectorExpressionParameters() {
    return getColumnParamString(0, inputColumnNum[0]) + ", maxLength " + maxLength;
  }
Do pad out the CHAR type into the BINARY result, taking into account Unicode...
ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/CastCharToBinary.java