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. Thanks
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.
Answers
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.