This message was deleted.
# troubleshooting
s
This message was deleted.
d
This happened when they try to use
array_agg()
function.
Copy code
array_agg(coalesce(the_column, ''))
s
I think I came across something similar a while ago
Trying to dig out a bit more info about it. What happened was that there was a null character in my string. Languages like C++ use null characters to terminate strings whereas Java uses string length. So, this has the potential of having vulnerabilities. So, Druid SQL doesn't allow this. The solution was to use a regex to remove the null character
I haven't been able to find the relevant info yet but something like `
Copy code
REPLACE(myString, Char(0x00), '')
` should work
d
ho thank you! I will give that a try.
s
You are welcome. You need to test out the regex a bit. I am not quite sure whether this is the right one or not.
@Didip Kerabat once you test it out please let me know whether it worked or not. I am curious to know 🙂.