Skip to content

Commit 47c86a9

Browse files
authored
Destination Bigquery: Remove reference to TDValve (#37714)
1 parent 16ed6bf commit 47c86a9

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ plugins {
33
}
44

55
airbyteJavaConnector {
6-
cdkVersionRequired = '0.33.2'
6+
cdkVersionRequired = '0.34.0'
77
features = [
88
'db-destinations',
99
'datastore-bigquery',
1010
'typing-deduping',
1111
'gcs-destinations',
1212
'core',
1313
]
14-
useLocalCdk = false
14+
useLocalCdk = true
1515
}
1616

1717
java {

airbyte-integrations/connectors/destination-bigquery/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: 22f6c74f-5699-40ff-833c-4a879ea40133
8-
dockerImageTag: 2.4.15
8+
dockerImageTag: 2.4.16
99
dockerRepository: airbyte/destination-bigquery
1010
documentationUrl: https://docs.airbyte.com/integrations/destinations/bigquery
1111
githubIssueLabel: destination-bigquery

airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryRecordConsumer.java

+1-3
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import io.airbyte.cdk.integrations.util.ConnectorExceptionUtil;
1212
import io.airbyte.integrations.base.destination.typing_deduping.ParsedCatalog;
1313
import io.airbyte.integrations.base.destination.typing_deduping.StreamConfig;
14-
import io.airbyte.integrations.base.destination.typing_deduping.TypeAndDedupeOperationValve;
1514
import io.airbyte.integrations.base.destination.typing_deduping.TyperDeduper;
1615
import io.airbyte.integrations.destination.bigquery.formatter.DefaultBigQueryRecordFormatter;
1716
import io.airbyte.integrations.destination.bigquery.uploader.AbstractBigQueryUploader;
@@ -41,7 +40,6 @@ class BigQueryRecordConsumer extends FailureTrackingAirbyteMessageConsumer imple
4140
private final String defaultDatasetId;
4241
private AirbyteMessage lastStateMessage = null;
4342

44-
private final TypeAndDedupeOperationValve streamTDValve = new TypeAndDedupeOperationValve();
4543
private final ParsedCatalog catalog;
4644
private final TyperDeduper typerDeduper;
4745

@@ -125,7 +123,7 @@ public void close(final boolean hasFailed) throws Exception {
125123
uploaderMap.forEach((streamId, uploader) -> {
126124
try {
127125
uploader.close(hasFailed, outputRecordCollector, lastStateMessage);
128-
typerDeduper.typeAndDedupe(streamId.getNamespace(), streamId.getName(), true);
126+
typerDeduper.typeAndDedupe(streamId.getNamespace(), streamId.getName());
129127
} catch (final Exception e) {
130128
exceptionsThrown.add(e);
131129
LOGGER.error("Exception while closing uploader {}", uploader, e);

docs/integrations/destinations/bigquery.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ tutorials:
220220

221221
| Version | Date | Pull Request | Subject |
222222
| :------ | :--------- | :--------------------------------------------------------- | :-------------------------------------------------------------------------------------------------------------------------------------------------------------- |
223-
| 2.4.15 | 2024-05-07 | [34611](https://github.com/airbytehq/airbyte/pull/34611) | Adopt CDK 0.33.2 |
223+
| 2.4.16 | 2024-05-08 | [37714](https://github.com/airbytehq/airbyte/pull/37714) | Adopt CDK 0.34.0 |
224+
| 2.4.15 | 2024-05-07 | [34611](https://github.com/airbytehq/airbyte/pull/34611) | Adopt CDK 0.33.2 |
224225
| 2.4.14 | 2024-02-25 | [37584](https://github.com/airbytehq/airbyte/pull/37584) | Remove unused insecure dependencies from CDK |
225226
| 2.4.13 | 2024-02-25 | [36899](https://github.com/airbytehq/airbyte/pull/36899) | adopt latest CDK |
226227
| 2.4.12 | 2024-03-04 | [35315](https://github.com/airbytehq/airbyte/pull/35315) | Adopt CDK 0.23.11 |

0 commit comments

Comments
 (0)