Hello,
I am coming across a weird issue. I am trying to schedule the output that comes from a PostgreSQL query that pulls Tableau's Workgroups metadata into Alteryx. The query is very large and was found in the TS_Data_Connections workbook here: https://community.tableau.com/docs/DOC-9974
Alteryx is telling me "Invalid SELECT statement. Unexpected token "Distinct" at line 1, pos 26060" but I am running the identical query in designer and it works fine so I don't think it could be true SQL code issue unless the server's syntax could be different but that wouldn't make any sense. I have run a simple Postgres query on the Alteryx server so I know it's not a connection issue so I'm truly stumped. I'll attach the query.
Anything could help thanks!