Redshift Content Breaks After 8.0.1 Upgrade

Yellowfin FAQ shared this problem 5 years ago

After upgrading to 8.0.1 all of my Redshift content is broken! In the logs I'm seeing:

YF:2019-02-28 22:11:14:ERROR (MIReportProcess:runAction) - Error: org.postgresql.util.PSQLException: ERROR: type "e" does not exist
org.postgresql.util.PSQLException: ERROR: type "e" does not exist
        at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(
        at org.postgresql.core.v3.QueryExecutorImpl.processResults(
        at org.postgresql.core.v3.QueryExecutorImpl.execute(
        at org.postgresql.jdbc.PgStatement.executeInternal(
        at org.postgresql.jdbc.PgStatement.execute(
        at org.postgresql.jdbc.PgStatement.executeWithFlags(
        at org.postgresql.jdbc.PgStatement.executeCachedSql(
        at org.postgresql.jdbc.PgStatement.executeWithFlags(
        at org.postgresql.jdbc.PgStatement.executeQuery(
        at org.postgresql.jdbc.PgDatabaseMetaData.getTables(
        at com.hof.pool.DBUtil.getTables(
        at com.hof.mi.process.MIReportProcess.A(
        at com.hof.mi.process.MIReportProcess.loadTables(
        at com.hof.mi.web.action.MIDataSourceEditAjaxAction.runAction(
        at com.hof.web.action.AjaxAction.execute(

Replies (2)


An upgrade to the packaged PostgreSQL Driver in Yellowfin 8.0.1 causes incompatibility with Redshift Data Sources and will result in broken content after upgrading.

It's recommended to instead use the Redshift specific driver, available here. I recommend using the 4.1 driver to utilize the Amazon Redshift Data Source option.

You can use this procedure to upload the driver.

JDBC 4.0 / 4.1 (Recommended) :

With these versions you can create an Amazon Redshift Data Source directly. Simply click the JDBC Driver drop-down and select 'RedShift 4.x Driver.' Enter your connection details as normal and test your connection.

JDBC 4.2 :

This will require you to use a 'Generic JDBC Data Source,' which requires you to obtain and craft the JDBC URL as per the specifications on the download page.

Switching Your Data Source:

Once you have done this, you'll want to alter the data source of your content to target this new Redshift Source. It's recommended to ensure you have good back ups of the Yellowfin Configuration Database prior to making any large changes such as this. The easiest method to alter the target Data Source would be to export your Views and use the Import > Replace option. During the import you can choose your new Redshift Data Source as the target for these Views. More information on this is available here.

And as always, please let us know if you encounter any issues!




UPDATE - This issue has been resolved in 9.8.2 release -

Removed the ability for the Redshift connection wizard to use the PostgreSQL JDBC driver, as the latest PostgreSQL Drivers are no longer compatible with RedShift. 

Leave a Comment
Attach a file