This content has been marked as final.
Show 3 replies
-
1. Re: Does the Teiid MongoDB translator support the varbinary datatype?
rareddy Jul 16, 2014 3:03 PM (in response to mdfspiff)1 of 1 people found this helpfulMichael,
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.
Ramesh..
-
2. Re: Does the Teiid MongoDB translator support the varbinary datatype?
shawkins Jul 16, 2014 6:52 PM (in response to rareddy)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.