We don't support Character[]. A CHAR array will be String[].

Like I mentioned before, you need to pass in the byteSize as an argument to these functions. You get this from the expression.getByteSize() outside these type functions. Type type for CHAR(xx) and BINARY(xx) do not have this information.