You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Destination BigQuery: Consolidation of objects to StreamConfig, cleanup (#38131)
## What
Removing redundant references and duplicate information passed around using `WriteConfig` objects. No functional changes and resurrected all the information needed through `StreamConfig` and adapted changes accordingly.
This PR should be in a mergeable state with no functional changes after the ones down the stack are published.
## Review guide
* Removed references of `BigQueryWriteConfig` and reused already built `StreamConfig`
* Removing unnecessary `StagingOperations` interface and made concrete class, this will help for later adding a shim on this and refactoring without large changes
* Removed other unnecessary references of getting dynamic schema, `WriteDispostion` etc. Probably remnant of bigquery-denormalized bespoke connector.
## User Impact
<!--
* What is the end result perceived by the user?
* If there are negative side effects, please list them.
-->
## Can this PR be safely reverted and rolled back?
<!--
* If unsure, leave it blank.
-->
- [x] YES 💚
- [ ] NO ❌
Copy file name to clipboardExpand all lines: airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryAsyncFlush.java
Copy file name to clipboardExpand all lines: airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryAsyncStandardFlush.java
Copy file name to clipboardExpand all lines: airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryDestination.java
Copy file name to clipboardExpand all lines: airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryGcsOperations.java
Copy file name to clipboardExpand all lines: airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQueryRecordStandardConsumer.java
Copy file name to clipboardExpand all lines: airbyte-integrations/connectors/destination-bigquery/src/main/java/io/airbyte/integrations/destination/bigquery/BigQuerySQLNameTransformer.java
+3-3
Original file line number
Diff line number
Diff line change
@@ -24,9 +24,9 @@ public String convertStreamName(final String input) {
24
24
}
25
25
26
26
/**
27
-
* BigQuery allows a number to be the first character of a namespace. Datasets that begin with an
28
-
* underscore are hidden databases, and we cannot query <hidden-dataset>.INFORMATION_SCHEMA. So we
29
-
* append a letter instead of underscore for normalization. Reference:
27
+
* BigQuery allows a number to be the first character of a originalNamespace. Datasets that begin
28
+
* with an underscore are hidden databases, and we cannot query <hidden-dataset>.INFORMATION_SCHEMA.
29
+
* So we append a letter instead of underscore for normalization. Reference:
0 commit comments