Dear Kylin Team,

I managed to debug and resolve the issue, it's due to Avatica 1.10 missing
implementation of AvaticaConnection.isValid method. I've fixed this here by
upgrading Avatica to 1.12: https://github.com/apache/kylin/pull/739

Please consider adding this PR to your repository when it passes all your
tests.

Thanks,
Piotr


wt., 9 lip 2019 o 21:25 Piotr Naszarkowski <[email protected]>
napisaƂ(a):

> Dear Kylin Team,
>
> I'm trying to connect Tableau (Desktop for now) to Apache Kylin using JDBC
> driver. Connection fails with the error below.
> [image: image.png]
> I know that there are limitations regarding dialect from Tableau side (
> https://onlinehelp.tableau.com/current/pro/desktop/en-us/examples_otherdatabases_jdbc.htm),
> which might be the issue however I'm not sure about it.
>
> The error messages in Tableau log files are not much of value, but I
> attach the most meaningful log entry below:
> {"ts":"2019-07-09T21:09:43.021","pid":11780,"tid":"2504","sev":"error","req":"-","sess":"-","site":"-","user":"-","k":"detailed-error-msg","e":{"category":"needs-classification","log-code":"bad0a3fa"},"v":{"details":["com.tableausoftware.jdbc.TableauJDBCException:
> Error in isConnected","Generic JDBC connection
> error","com.tableausoftware.jdbc.TableauJDBCException: Error in
> isConnected\n"],"headline":"An error occurred while communicating with
> Other Databases (JDBC).\n","shortMessage":"Bad Connection: Tableau could
> not connect to the data source.","support-help-link":"
> https://www.tableau.com/en-us/app/producthelp?build=20191.19.0213.2333&edition=pro&errorcode=&errormessage=&lang=en-us&platform=windows&type=redirect&version=2019.1
> "}}
>
> JDBC works fine with my installation from e.g. squirrelSQL.
>
> Anybody has a clue how to make it work? Do you think that there is
> something in the code of jdbc driver that can be checked/fixed or debugged?
> Is there anything you would recommend?
>
> Versions:
> Tableau Desktop 2019.1 installed on Windows
> Apache Kylin 2.6.2 installed from binaries on CentOS
> Apache Kylin jdbc driver built locally from 2.6.3 revision/tag.
>
> Thanks,
> Piotr
>

Reply via email to