使用自定义查询时,在Tableau Desktop上出现以下错误,当直接将表拖到Tableau Desktop上的查询构建器部分时,我能够成功连接并查看表中的内容。
使用的数据源:AWS Athena
驱动程序版本:AthenaJDBC42_2.0.2
Tableau Desktop版本:10.4
com.tableausoftware.jdbc.TableauJDBCException: Error reading metadata for executed query: SELECT * FROM ( select * from tablename ) "TableauSQL" LIMIT 0 [Simba][AthenaJDBC](100071) An error has been thrown from the AWS Athena client. Only one sql statement is allowed. Got: SELECT * FROM ( select * from tablename ;) "TableauSQL" LIMIT 0
There was a Java error.
Unable to connect to the server "Athena.us-east-1.amazonaws.com". Check that the server is running and that you have access privileges to the requested database.