-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🐛 (contribution) Fix SQL model to build a Type 2 SCD to handle NULL cursor_field values correctly #4881
Conversation
credentials = profiles_config | ||
profiles_config = { | ||
"credentials_json": json.dumps(credentials), | ||
"dataset_id": self.target_schema, | ||
"project_id": credentials["project_id"], | ||
} | ||
elif destination_type.value == DestinationType.MYSQL.value: | ||
profiles_config["database"] = self.target_schema |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes are necessary to fix normalization integration tests due to: #4699
@@ -7,7 +7,6 @@ dependencies { | |||
implementation 'commons-cli:commons-cli:1.4' | |||
|
|||
implementation project(':airbyte-protocol:models') | |||
implementation project(':airbyte-queue') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing this from https://github.com/airbytehq/airbyte/pull/4699/files#r672182180
/publish connector=bases/base-normalization
|
Why does the ordering of Gradle tasks differ from running on local in the GitHub CI? It seems, if I am not wrong, that the test is being run before docker images are being built? I ran the command locally and successfully published the docker image to dockernub... |
@@ -281,3 +281,12 @@ Note that all the choices made by Normalization as described in this documentati | |||
* to build a [custom SQL view](../operator-guides/transformation-and-normalization/transformations-with-sql.md) with your own naming conventions | |||
* to export, edit and run [custom dbt normalization](../operator-guides/transformation-and-normalization/transformations-with-dbt.md) yourself | |||
* or further, you can configure the use of a custom dbt project within Airbyte by following [this guide](../operator-guides/transformation-and-normalization/transformations-with-airbyte.md). | |||
|
|||
## CHANGELOG |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@avaidyanatha I'm guessing, it's good if I'm adding this similar to connectors?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ChristopheDuong Absolutely, this is good!
597360b
to
5af3e5f
Compare
What
Wrap-up contribution from #4802
How
Recommended reading order
airbyte-integrations/bases/base-normalization/normalization/transform_catalog/stream_processor.py
Pre-merge Checklist
Expand the checklist which is relevant for this PR.
Connector checklist
airbyte_secret
in the connector's spec./gradlew :airbyte-integrations:connectors:<name>:integrationTest
./test connector=connectors/<name>
command as documented here is passing.README.md
docs/SUMMARY.md
if it's a new connectordocs/integrations/<source or destination>/<name>
.docs/integrations/...
. See changelog exampledocs/integrations/README.md
contains a reference to the new connector/publish
command described here