KDB q sql in Tableau

Hi, 

I managed to get connected from Tableau to KDB. However, there are certain characters that Tableau’s SQL is having issues escaping (ex. ?) 

I need to use vector conditionals but I can’t seem to get the query to work within the q() function. 

Anyone know how to work this out? 

Also, At the bottom this page: https://code.kx.com/q/interfaces/q-server-for-odbc3/

They said there’s examples but I can’t find test.q

Can someone point me to where it is?