* add logic to skip incremental mode for tables which do not have a field types that could not be used as cursor * added tests for cursor fields incremental updates * remove not used methods * fix tests * fix formatting * revert RedshiftInsertDestinationAcceptanceTest * fix ssl clickhouse test * fix codereview comments * fix clickhouse strict encrypt test * fix postgres source after merge from master * optimize ssl clickhouse test logic * fix db2 test * added check for cursor field should be not nullable, fix formatting * fixed tests, formatting, issue after merge from master * fix merge issues * fix test for source-jdbc and remove some code used for local testing * added description for cockroach db tests * test changes * refactoring for cursor field tests after code review comments * refactoring for cursor field tests after code review comments * fix code review comments * remove unused imports * fix formatting * fix compilation error * fix postgres and postgress ssl test * Fixed bucket naming for S3 * remove CHAR, NCHAR from possible cursor types * remove SYMBOL from possible cursor types * removed redundant configs * fixed mysql-strict-encrypt tests * fixed mongodb-v2 tests * minor format changes * bump version * auto-bump connector version [ci skip] * auto-bump connector version [ci skip] * auto-bump connector version [ci skip] * auto-bump connector version [ci skip] * auto-bump connector version [ci skip] * auto-bump connector version [ci skip] * auto-bump connector version [ci skip] * auto-bump connector version [ci skip] * auto-bump connector version [ci skip] * auto-bump connector version [ci skip] Co-authored-by: vmaltsev <ihbectop@gmail.com> Co-authored-by: subodh <subodh1810@gmail.com> Co-authored-by: Octavia Squidington III <octavia-squidington-iii@users.noreply.github.com>
4.0 KiB
Redshift
Overview
The Redshift source supports Full Refresh syncs. That is, every time a sync is run, Airbyte will copy all rows in the tables and columns you set up for replication into the destination in a new table.
This Redshift source connector is built on top of the source-jdbc code base and is configured to rely on JDBC 4.2 standard drivers provided by Amazon via Mulesoft here as described in Redshift documentation here.
Sync overview
Resulting schema
The Redshift source does not alter the schema present in your warehouse. Depending on the destination connected to this source, however, the schema may be altered. See the destination's documentation for more details.
Features
| Feature | Supported | Notes |
|---|---|---|
| Full Refresh Sync | Yes | |
| Incremental Sync | Coming soon | |
| Replicate Incremental Deletes | Coming soon | |
| Logical Replication (WAL) | Coming soon | |
| SSL Support | Yes | |
| SSH Tunnel Connection | Coming soon | |
| Namespaces | Yes | Enabled by default |
| Schema Selection | Yes | Multiple schemas may be used at one time. Keep empty to process all of existing schemas |
Incremental Sync
Incremental sync (copying only the data that has changed) for this source is coming soon.
Getting started
Requirements
- Active Redshift cluster
- Allow connections from Airbyte to your Redshift cluster (if they exist in separate VPCs)
Setup guide
1. Make sure your cluster is active and accessible from the machine running Airbyte
This is dependent on your networking setup. The easiest way to verify if Airbyte is able to connect to your Redshift cluster is via the check connection tool in the UI. You can check AWS Redshift documentation with a tutorial on how to properly configure your cluster's access here
2. Fill up connection info
Next is to provide the necessary information on how to connect to your cluster such as the host whcih is part of the connection string or Endpoint accessible here without the port and database name (it typically includes the cluster-id, region and end with .redshift.amazonaws.com).
Encryption
All Redshift connections are encrypted using SSL
Changelog
| Version | Date | Pull Request | Subject |
|---|---|---|---|
| 0.3.12 | 2022-08-18 | 14356 | DB Sources: only show a table can sync incrementally if at least one column can be used as a cursor field |
| 0.3.11 | 2022-07-14 | 14574 | Removed additionalProperties:false from JDBC source connectors |
| 0.3.10 | 2022-04-29 | 12480 | Query tables with adaptive fetch size to optimize JDBC memory consumption |
| 0.3.9 | 2022-02-21 | 9744 | List only the tables on which the user has SELECT permissions. |
| 0.3.8 | 2022-02-14 | 10256 | Add -XX:+ExitOnOutOfMemoryError JVM option |
| 0.3.7 | 2022-01-26 | 9721 | Added schema selection |
| 0.3.6 | 2022-01-20 | 8617 | Update connector fields title/description |
| 0.3.5 | 2021-12-24 | 8958 | Add support for JdbcType.ARRAY |
| 0.3.4 | 2021-10-21 | 7234 | Allow SSL traffic only |
| 0.3.3 | 2021-10-12 | 6965 | Added SSL Support |
| 0.3.2 | 2021-08-13 | 4699 | Added json config validator |