-
Are there allowed values for the variable An example of the generated code for a hashkey is:
The problem seems to be the call to LOWER immediately after the IFNULL. Also, the default value seems to be incorrect. Instead of:
should it not be:
Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Hi @mjahammel and thanks for reaching out!
In theory, the variable "hash_datatype" is exactly for that, to define another output datatype for hash values. So it should be able to insert "BINARY". But I checked it again, and it isn't working properly for me as well. The problems are the two things you mentioned above. The LOWER shouldn't be there, in case of BINARY, and the default value is incorrect. I will create an issue out of this discussion and try to fix it ASAP. Kind regards, |
Beta Was this translation helpful? Give feedback.
-
I downloaded the hotfix was able to use BINARY as the hash data type. Thanks. However, I ran into another instance where quotes are placed around the TO_BINARY function. I tried building a PIT based on a Snap v1 model and it generated this:
which results in the error:
|
Beta Was this translation helpful? Give feedback.
-
The latest release fixes the problem with PITs. My small data vault prototype build now runs to completion. I haven't tried a bridge, though. :) |
Beta Was this translation helpful? Give feedback.
Hi @mjahammel and thanks for reaching out!
In theory, the variable "hash_datatype" is exactly for that, to define another output datatype for hash values. So it should be able to insert "BINARY".
But I checked it again, and it isn't working properly for me as well. The problems are the two things you mentioned above. The LOWER shouldn't be there, in case of BINARY, and the default value is incorrect.
I will create an issue out of this discussion and try to fix it ASAP.
Kind regards,
Tim