KNOWLEDGE BASE

Flow Run Error "Could not initialize class com.facebook.presto.jdbc.internal.common.type.TimeZoneKey"


Published: 03 Jun 2022
Last Modified Date: 03 Jun 2022

Issue

When running a flow, the following error may occur:

An error occurred while communicating with Presto Could not initialize class com.facebook.presto.jdbc.internal.common.type.TimeZoneKey 

Environment

  • Tableau Server
  • Tableau Prep Builder
  • Presto connector
  • Trino server

Resolution

  1. Download the correct JDBC driver version (trino-jdbc-x.jar) for your Trino server version from https://repo1.maven.org/maven2/io/trino/trino-jdbc/
  2. Remove all other Trino and Presto JDBC driver versions from the JDBC driver folder. For example, for Linux, this would be /opt/tableau/tableau_driver/jdbc
  3. Save the correct JDBC driver version in the JDBC driver folder.
Note: If the environment is a multi-node Tableau Server instance, this should be done on all nodes.

Cause

An incorrect driver version has been used.
Did this article resolve the issue?