PartitionReader, for example, does not have native getUUID function. Any suggestion how to get UUID from input?
As an example, for int column, one would do: inputReader.getLong(argCols.get(0));
Same question for PartitionWriter.
To answer my own question. The following works, but probably not most efficient:
SELECT UDTF(UUID:VARCHAR) FROM T;
Then in java code, use functions like isVarchar(), addVarchar(36, "uuid")
Is this helpful?
Programming JDBC Client Applications (UUID Values)
This is way I figured out. If you have better way, please let me know.
Can't find what you're looking for? Search the Vertica Documentation, Knowledge Base, or Blog for more information.