Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

In this article

Table of Contents

Overview

The Redshift Snap Pack will use uses the Amazon Redshift JDBC driver com.amazon.redshift.jdbc42.Driver as the default driver class beginning from the March 2023 release. This upgrade is backward - compatible. The existing pipelines configured either with the PostgreSQL JDBC driver or the Redshift JDBC driver will continue to work as expected. The new pipelines will use the Amazon Redshift JDBC driver as the default driver.

Important:

  • SnapLogic will support providing fixes for the issues you might encounter with accounts that use the PostgreSQL driver only until November 2023, after which SnapLogic will not provide support for issues with the PostgreSQL JDBC driver. Therefore, we recommend that you migrate from the PostgreSQL JDBC driver to the Redshift JDBC driver by November 2023.

Migrating to the Amazon Redshift JDBC driver

To migrate from the PostgreSQL to the Redshift JDBC driver as the default driver, update the JDBC Driver Class in the Account settings from org.postgresql.Driver to "com.amazon.redshift.jdbc42.Driver" in your existing accounts.:

...

JDBC Driver Configuration Scenarios in Redshift Accounts

Your pipelines might use a varied combination of JDBC drivers, classes, and URLs of either the PostgreSQL or Amazon Redshift JDBC. Here are the configuration scenarios that are authenticated successfully.

Panel
bgColor#DEEBFF
  • For the JDBC Driver:

    • Default JAR indicates the driver that is bundled with the Snap packPack, while and manual indicates the driver that you manually upload.

  • For the JDBC URL:

    • Default JAR indicate the Snap-generated URL, while and manual indicates the URL that you manually upload.

...

JDBC Driver JAR

JDBC Driver Class

JDBC URL

Authentication

Redshift

com.amazon.redshift.jdbc42.Driver

jdbc:postgresql

Authentication fails.

Redshift

org.postgresql.Driver

jdbc:redshift

Authentication fails.

PostgreSQL

com.amazon.redshift.jdbc42.Driver

jdbc:postgresql

Authentication fails.

PostgreSQL

org.postgresql.Driver

jdbc:redshift

Authentication fails.

Behavior Change

Display of labels in the output for the Redshift Select Snap

For the Redshift Select Snap, when you configure Output fields and deselect the Match data types checkbox, the display of the label name for the timestamptz data type in the output preview varies with the two JDBC drivers. For instanceexample, consider the following configuration of the Output fields in the Redshift Select Snap.

...

On validation, notice the difference in the label name in the output preview. With the PostgreSQL driver, Snap displays the labels as configured in the Snap settings.:

...

While with the Redshift JDBC driver, the Snap prefixes Redshift to the Timestamp label. This does not impact the performance of the Snap.

...

The behavior of the Snap remains the same when you select the Match data types checkbox, irrespective regardleess of using the PostgreSQL or the Redshift driver—the label names are displayed as configured in the Snap settings.