Closed CarlMeadows closed 3 years ago
Just tested the JDBC driver against Tableau. During its connection testing process, Tableau seems to try to create a temporary table to test some SQL capabilities of the JDBC driver/DB and then drops the table. I can see these error messages from ES logs. As these features are not supported, the connection fails.
java.sql.SQLFeatureNotSupportedException: Unsupported query: CREATE LOCAL TEMPORARY TABLE XT____AB_________D__C_C______B___F_B_BC___1_Connect_CheckCreateTempTableCap ( COL INTEGER ) ON COMMIT PRESERVE ROWS
java.sql.SQLFeatureNotSupportedException: Unsupported query: DROP TABLE XT____AB_________D__C_C______B___F_B_BC___1_Connect_CheckCreateTempTableCap
You can add <customization name='CAP_CREATE_TEMP_TABLES' value='no'/>
in .tdc file to avoid creating temporary tables.
For more information check Connecting Tableau with Open Distro for Elasticsearch.
Add support for Tableau to the SQL JDBC driver.