In Tableau 10.1, I'm trying to use a view created in BigQuery using Standard SQL, however it seems that the dialect that Tableau uses is the Legacy SQL, as I keep getting the same error:
The Google BigQuery service was unable to compile the query.
Cannot reference a SQL view in a Legacy SQL query.
As per the documentation, Tableau 10.1 should use be default the Standard SQL: https://onlinehelp.tableau.com/current/pro/desktop/en-us/examples_googlebigquery.html
I have even tried to force the dialect by using a custom .tdc file, but it still doesn't work:
<connection-customization class='bigquery' enabled='true' version='10.1' >
<vendor name='bigquery' />
<driver name='bigquery' />
<customizations>
<customization name='connection-dialect' value='simba-sql' />
</customizations>
</connection-customization>
The .tdc is loaded, I can see that in the logs (C:\Users...\Documents\My Tableau Repository\Logs\log.txt):
{"ts":"2017-01-10T21:41:20.122","pid":23988,"tid":"581c","sev":"info","req":"-","sess":"-","site":"{F3FB300D-09B3-4C60-94E0-EAF83FA07153}","user":"-","k":"msg","v":"Found TDC 'C:\\Users\\...\\Documents\\My Tableau Repository\\Datasources\\bigquery.tdc'."}
What's wrong?
connection-dialectvalues. Are you sure thatsimba-sqlis right? You may just want to contact Tableau support to see what they suggest. - Elliott Brossard