Skip to content

Commit 1f0da7f

Browse files
authored
Destination redshift: Remove encrypted staging option (#39141)
1 parent 14fda2e commit 1f0da7f

File tree

4 files changed

+6
-45
lines changed

4 files changed

+6
-45
lines changed

airbyte-integrations/connectors/destination-redshift/metadata.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ data:
55
connectorSubtype: database
66
connectorType: destination
77
definitionId: f7a7d195-377f-cf5b-70a5-be6b819019dc
8-
dockerImageTag: 3.0.0
8+
dockerImageTag: 3.1.0
99
dockerRepository: airbyte/destination-redshift
1010
documentationUrl: https://docs.airbyte.com/integrations/destinations/redshift
1111
githubIssueLabel: destination-redshift

airbyte-integrations/connectors/destination-redshift/src/main/kotlin/io/airbyte/integrations/destination/redshift/operations/RedshiftS3StagingSqlOperations.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ class RedshiftS3StagingSqlOperations(
141141
if (keyEncryptingKey == null) {
142142
""
143143
} else {
144+
// TODO This is broken (it's using Snowflake SQL syntax).
145+
// Leaving it here since the rest of the plumbing seems reasonable,
146+
// but we should fix this eventually.
144147
String.format(
145148
" encryption = (type = 'aws_cse' master_key = '%s')",
146149
BASE64_ENCODER.encodeToString(keyEncryptingKey)

airbyte-integrations/connectors/destination-redshift/src/main/resources/spec.json

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -180,49 +180,6 @@
180180
"description": "Whether to delete the staging files from S3 after completing the sync. See <a href=\"https://docs.airbyte.com/integrations/destinations/redshift/#:~:text=the%20root%20directory.-,Purge%20Staging%20Data,-Whether%20to%20delete\"> docs</a> for details.",
181181
"default": true,
182182
"order": 6
183-
},
184-
"encryption": {
185-
"title": "Encryption",
186-
"type": "object",
187-
"description": "How to encrypt the staging data",
188-
"default": { "encryption_type": "none" },
189-
"oneOf": [
190-
{
191-
"title": "No encryption",
192-
"description": "Staging data will be stored in plaintext.",
193-
"type": "object",
194-
"required": ["encryption_type"],
195-
"properties": {
196-
"encryption_type": {
197-
"type": "string",
198-
"const": "none",
199-
"enum": ["none"],
200-
"default": "none"
201-
}
202-
}
203-
},
204-
{
205-
"title": "AES-CBC envelope encryption",
206-
"description": "Staging data will be encrypted using AES-CBC envelope encryption.",
207-
"type": "object",
208-
"required": ["encryption_type"],
209-
"properties": {
210-
"encryption_type": {
211-
"type": "string",
212-
"const": "aes_cbc_envelope",
213-
"enum": ["aes_cbc_envelope"],
214-
"default": "aes_cbc_envelope"
215-
},
216-
"key_encrypting_key": {
217-
"type": "string",
218-
"title": "Key",
219-
"description": "The key, base64-encoded. Must be either 128, 192, or 256 bits. Leave blank to have Airbyte generate an ephemeral key for each sync.",
220-
"airbyte_secret": true
221-
}
222-
}
223-
}
224-
],
225-
"order": 7
226183
}
227184
}
228185
}

docs/integrations/destinations/redshift.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ Each stream will be output into its own raw table in Redshift. Each table will c
244244

245245
| Version | Date | Pull Request | Subject |
246246
|:--------|:-----------|:-----------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
247+
| 3.1.0 | 2024-06-26 | [39141](https://github.com/airbytehq/airbyte/pull/39141) | Remove nonfunctional "encrypted staging" option |
247248
| 3.0.0 | 2024-06-04 | [38886](https://github.com/airbytehq/airbyte/pull/38886) | Remove standard inserts mode |
248249
| 2.6.4 | 2024-05-31 | [38825](https://github.com/airbytehq/airbyte/pull/38825) | Adopt CDK 0.35.15 |
249250
| 2.6.3 | 2024-05-31 | [38803](https://github.com/airbytehq/airbyte/pull/38803) | Source auto-conversion to Kotlin |
@@ -352,4 +353,4 @@ Each stream will be output into its own raw table in Redshift. Each table will c
352353
| 0.3.12 | 2021-07-21 | [\#3555](https://github.com/airbytehq/airbyte/pull/3555) | Enable partial checkpointing for halfway syncs |
353354
| 0.3.11 | 2021-07-20 | [\#4874](https://github.com/airbytehq/airbyte/pull/4874) | allow `additionalProperties` in connector spec |
354355

355-
</details>
356+
</details>

0 commit comments

Comments
 (0)