Hey guys. How’s it going?
I’m stuck in a problem related to joining two fields in a query.
One of them is a MongoDB field, which Dremio is reading as a VARBINARY type, and another one is on a MySQL table, formatted as a VARCHAR type. Here’s an example of how the field is shown on MongoDB, and how it is displayed on Dremio’s interface.
What I’m supposed to do:
The information inside of the parenthesis (in this case, “5a268eefe94fa4100a59facf”) is what the MongoDB sends to MySQL, so, I need to join this two fields. However, I’m trying to convert this field using the CAST function and it’s not working. Do you guys have any idea about what I could do to solve this problem?