Skip to content

Commit 9466344

Browse files
bump CDK version for destination-snowflake, Remove nullability of IntegrationRunner.getThreadCreationInfo (#38586)
1 parent 7bd9423 commit 9466344

File tree

6 files changed

+14
-5
lines changed

6 files changed

+14
-5
lines changed

airbyte-cdk/java/airbyte-cdk/README.md

+8
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,14 @@ corresponds to that version.
176176
|:--------|:-----------|:-----------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------|
177177
| 0.35.11 | 2024-05-23 | [\#38357](https://github.com/airbytehq/airbyte/pull/38357) | This release fixes an error on the previous release. |
178178
| 0.35.10 | 2024-05-23 | [\#38357](https://github.com/airbytehq/airbyte/pull/38357) | Add shared code for db sources stream status trace messages and testing. |
179+
| 0.35.9 | 2024-05-23 | [\#38586](https://github.com/airbytehq/airbyte/pull/38586) | code cleanup |
180+
| 0.35.9 | 2024-05-23 | [\#37583](https://github.com/airbytehq/airbyte/pull/37583) | code cleanup |
181+
| 0.35.9 | 2024-05-23 | [\#37555](https://github.com/airbytehq/airbyte/pull/37555) | code cleanup |
182+
| 0.35.9 | 2024-05-23 | [\#37540](https://github.com/airbytehq/airbyte/pull/37540) | code cleanup |
183+
| 0.35.9 | 2024-05-23 | [\#37539](https://github.com/airbytehq/airbyte/pull/37539) | code cleanup |
184+
| 0.35.9 | 2024-05-23 | [\#37538](https://github.com/airbytehq/airbyte/pull/37538) | code cleanup |
185+
| 0.35.9 | 2024-05-23 | [\#37537](https://github.com/airbytehq/airbyte/pull/37537) | code cleanup |
186+
| 0.35.9 | 2024-05-23 | [\#37518](https://github.com/airbytehq/airbyte/pull/37518) | code cleanup |
179187
| 0.35.8 | 2024-05-22 | [\#38572](https://github.com/airbytehq/airbyte/pull/38572) | Add a temporary static method to decouple SnowflakeDestination from AbstractJdbcDestination |
180188
| 0.35.7 | 2024-05-20 | [\#38357](https://github.com/airbytehq/airbyte/pull/38357) | Decouple create namespace from per stream operation interface. |
181189
| 0.35.6 | 2024-05-17 | [\#38107](https://github.com/airbytehq/airbyte/pull/38107) | New interfaces for Destination connectors to plug into AsyncStreamConsumer |

airbyte-cdk/java/airbyte-cdk/core/src/main/kotlin/io/airbyte/cdk/integrations/base/IntegrationRunner.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -385,8 +385,8 @@ internal constructor(
385385
}
386386

387387
@JvmStatic
388-
fun getThreadCreationInfo(thread: Thread): ThreadCreationInfo? {
389-
return getMethod.invoke(threadCreationInfo, thread) as ThreadCreationInfo?
388+
fun getThreadCreationInfo(thread: Thread): ThreadCreationInfo {
389+
return getMethod.invoke(threadCreationInfo, thread) as ThreadCreationInfo
390390
}
391391

392392
/**

airbyte-integrations/connectors/destination-snowflake/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ plugins {
33
}
44

55
airbyteJavaConnector {
6-
cdkVersionRequired = '0.35.8'
6+
cdkVersionRequired = '0.35.9'
77
features = ['db-destinations', 's3-destinations', 'typing-deduping']
88
useLocalCdk = false
99
}

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ data:
55
connectorSubtype: database
66
connectorType: destination
77
definitionId: 424892c4-daac-4491-b35d-c6688ba547ba
8-
dockerImageTag: 3.8.2
8+
dockerImageTag: 3.8.3
99
dockerRepository: airbyte/destination-snowflake
1010
documentationUrl: https://docs.airbyte.com/integrations/destinations/snowflake
1111
githubIssueLabel: destination-snowflake

airbyte-integrations/connectors/destination-snowflake/src/main/kotlin/io/airbyte/integrations/destination/snowflake/SnowflakeDestination.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ constructor(
248248

249249
fun main(args: Array<String>) {
250250
IntegrationRunner.addOrphanedThreadFilter { t: Thread ->
251-
for (stackTraceElement in IntegrationRunner.getThreadCreationInfo(t)?.stack!!) {
251+
for (stackTraceElement in IntegrationRunner.getThreadCreationInfo(t).stack) {
252252
val stackClassName = stackTraceElement.className
253253
val stackMethodName = stackTraceElement.methodName
254254
if (

docs/integrations/destinations/snowflake.md

+1
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@ desired namespace.
276276

277277
| Version | Date | Pull Request | Subject |
278278
|:----------------|:-----------|:-----------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------|
279+
| 3.8.3 | 2024-05-23 | [\#38586](https://github.com/airbytehq/airbyte/pull/38586) | Bump CDK version |
279280
| 3.8.2 | 2024-05-22 | [\#38553](https://github.com/airbytehq/airbyte/pull/38553) | Remove `SwitchingDestination` and `AbstractJdbcDestination` dependency in destination |
280281
| 3.8.1 | 2024-05-22 | [\#38568](https://github.com/airbytehq/airbyte/pull/38568) | Adopt latest CDK |
281282
| 3.8.0 | 2024-05-08 | [\#37715](https://github.com/airbytehq/airbyte/pull/37715) | Remove option for incremental typing and deduping |

0 commit comments

Comments
 (0)