1 of 1 people found this helpful
Looks like Teiid did not add support for varbinary yet, you can open a enhancement JIRA at Teiid - JBoss Issue Tracker and will add it to next revision. Right now it is treating like Object type. You can try modeing as Blob and that should work. However that uses GridFS functionality to store in MongoDB.
Teiid does have support for varbinary, but it's basic mapping is to a java byte array - typically less than 8kb.
However in this case you have a UUID object and Teiid does not know how to convert from UUID to byte/varbinary. Are you expecting the value to be the serialized bytes or some other byte representation?
A side note is that the MongoDB translator when reporting its own metadata will map byte to blob.