Skip to main content
Dependencies:
  • ProphecyWarehousePython 0.0.1+
  • ProphecyWarehouseScala 0.0.1+
  • ProphecyLibsPython 1.9.42+
Cluster requirements:
  • UC dedicated clusters 14.3+ supported
  • UC standard clusters 14.3+ supported
  • Livy clusters not supported
You can read from and write to Redshift.

Parameters

DB Table

The DB Table option dictates which table to use as the source to read from. You can use anything valid in a FROM clause of a SQL query. For example, instead of a table name, use a subquery in parentheses.
The DB Table option and the query parameter are mutually exclusive, which means that you cannot specify both at the same time.

SQL Query

The SQL Query option specifies which query to use as a subquery in the FROM clause. Spark also assigns an alias to the subquery clause. For example, Spark issues the following query to the JDBC Source:
The following restrictions exist when you use this option:
  1. You cannot use the query and partitionColumn options at the same time.
  2. If you must specify the partitionColumn option, you can specify the subquery using the dbtable option and qualify your partition columns using the subquery alias provided as part of dbtable.

Source

The Source gem reads data from Redshift and allows you to optionally specify the following additional properties.

Source properties

Target

The Target gem writes data to Redshift and allows you to optionally specify the following additional properties.

Target properties

Supported distribution styles