I cannot connect Tableau to presto on an EMR cluster. Versions: Tableau 10, emr-5.3.0, Presto 0.157.1
I am able to connect via the presto-cli using the commands
[hadoop@ip-172-xx-yy-zz scripts]$ presto-cli
presto> use hive.poc;
presto:poc> show tables;
Table
...
But I am not ablewhen trying to connect from tableau using the Teradata ODBC connector. I am getting the error "catalog is not specified" as a result.
But, when inspecting the trace of the java error, available at the Presto web interface (http://ec2-aaa-bbb-ccc-ddd.eee.compute.amazonaws.com:8889/query.html?20170130_165412_00329_5gbba), I get the following error. It looks more as a parsing error.
com.facebook.presto.sql.parser.ParsingException: line 1:1: no viable alternative at input '{'
at com.facebook.presto.sql.parser.SqlParser$1.syntaxError(SqlParser.java:45)
at org.antlr.v4.runtime.ProxyErrorListener.syntaxError(ProxyErrorListener.java:65)
... 60 more
The submitted query was the following:
{"query":"select * from \"hive.poc\".\"information_schema\".\"tables\" WHERE table_schema LIKE 'default' AND table_name LIKE '*'","preparedStatements":{}}
Any help / hint will be appreciated.
Note: in the EMR cluster, the presto server is available in port 8889, not in the usual 8080.
Thank you!