-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
MSSQL remove normalization #36050
MSSQL remove normalization #36050
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
a895b20
to
9d9103e
Compare
645c8e0
to
332c782
Compare
6f0d176
to
969707d
Compare
d7d18c2
to
e70a16f
Compare
969707d
to
d15e693
Compare
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.
👍 Looks good to me!
- Reviewed the entire pull request up to 969707defaa914e4118ccd9180e15b0a90f7b601
- Looked at
507
lines of code in11
files - Took 2 minutes and 31 seconds to review
More info
- Skipped
0
files when reviewing. - Skipped posting
1
additional comments because they didn't meet confidence threshold of50%
.
1. airbyte-integrations/connectors/destination-mssql/src/main/java/io/airbyte/integrations/destination/mssql/MSSQLDestination.java:7
:
- Assessed confidence :
10%
- Comment:
The changes in this file look good. The removal of normalization and the introduction of new features like 's3-destinations' and 'typing-deduping' are correctly implemented. - Reasoning:
The PR removes normalization for MSSQL and introduces breaking changes. The changes are well documented in the PR description and in the metadata.yaml files. The code changes in the build.gradle files are updating the cdkVersionRequired and useLocalCdk, which seems fine. The changes in the Java files are mostly related to the removal of normalization and the introduction of new features like 's3-destinations' and 'typing-deduping'. The changes in the spec.json files are adding a new field 'raw_data_schema'. The changes in the test files are mostly refactoring and don't seem to introduce any issues. Overall, the changes look good and seem to be correctly implemented.
Workflow ID: wflow_L1x64FfxXnLixrP1
Not what you expected? You can customize the content of the reviews using rules. Learn more here.
d15e693
to
ff2e490
Compare
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.
👍 Looks good to me!
- Performed an incremental review on ff2e49077f16f6eddc8e74b8b8b3f032ed393a5a
- Looked at
521
lines of code in12
files - Took 5 minutes and 49 seconds to review
More info
- Skipped
0
files when reviewing. - Skipped posting
3
additional comments because they didn't meet confidence threshold of50%
.
1. airbyte-integrations/connectors/destination-mssql/src/main/java/io/airbyte/integrations/destination/mssql/MSSQLDestination.java:7
:
- Assessed confidence :
0%
- Comment:
The changes in this file seem to be in line with the intent of the PR, which is to remove normalization for MSSQL. ThegetDestinationHandler
method has been updated to useNoOpJdbcDestinationHandler
, and thegetMigrations
method now returns an empty list. TheisV2Destination
method now returns true, and theshouldAlwaysDisableTypeDedupe
method also returns true. ThegetSqlGenerator
method has been updated to useRawOnlySqlGenerator
. These changes seem to be in line with the intent of the PR, and I didn't find any clear violations of best practices, logical bugs, performance bugs, or security bugs. - Reasoning:
The changes in this file seem to be in line with the intent of the PR, which is to remove normalization for MSSQL. ThegetDestinationHandler
method has been updated to useNoOpJdbcDestinationHandler
, and thegetMigrations
method now returns an empty list. TheisV2Destination
method now returns true, and theshouldAlwaysDisableTypeDedupe
method also returns true. ThegetSqlGenerator
method has been updated to useRawOnlySqlGenerator
. These changes seem to be in line with the intent of the PR, and I didn't find any clear violations of best practices, logical bugs, performance bugs, or security bugs.
2. airbyte-integrations/connectors/destination-mssql/src/main/java/io/airbyte/integrations/destination/mssql/SqlServerOperations.java:4
:
- Assessed confidence :
0%
- Comment:
The changes in this file seem to be in line with the intent of the PR, which is to remove normalization for MSSQL. TheinsertRecords
function has been updated to reflect changes in the insert records function. A newraw_data_schema
property has been added to thespec.json
ofdestination-mssql
. These changes seem to be in line with the intent of the PR, and I didn't find any clear violations of best practices, logical bugs, performance bugs, or security bugs. - Reasoning:
The changes in this file seem to be in line with the intent of the PR, which is to remove normalization for MSSQL. TheinsertRecords
function has been updated to reflect changes in the insert records function. A newraw_data_schema
property has been added to thespec.json
ofdestination-mssql
. These changes seem to be in line with the intent of the PR, and I didn't find any clear violations of best practices, logical bugs, performance bugs, or security bugs.
3. airbyte-integrations/connectors/destination-mssql/src/main/resources/spec.json:114
:
- Assessed confidence :
0%
- Comment:
The changes in this file seem to be in line with the intent of the PR, which is to remove normalization for MSSQL. TheinsertRecords
function has been updated to reflect changes in the insert records function. A newraw_data_schema
property has been added to thespec.json
ofdestination-mssql
. These changes seem to be in line with the intent of the PR, and I didn't find any clear violations of best practices, logical bugs, performance bugs, or security bugs. - Reasoning:
The changes in this file seem to be in line with the intent of the PR, which is to remove normalization for MSSQL. TheinsertRecords
function has been updated to reflect changes in the insert records function. A newraw_data_schema
property has been added to thespec.json
ofdestination-mssql
. These changes seem to be in line with the intent of the PR, and I didn't find any clear violations of best practices, logical bugs, performance bugs, or security bugs.
Workflow ID: wflow_PIrj1mAYzVjlYdjm
Not what you expected? You can customize the content of the reviews using rules. Learn more here.
e70a16f
to
0dbdbb1
Compare
ff2e490
to
74e7996
Compare
0dbdbb1
to
1f34b9c
Compare
3997e1f
to
d516ed2
Compare
d516ed2
to
931f15c
Compare
931f15c
to
fd490fd
Compare
fd490fd
to
6640627
Compare
6640627
to
2451545
Compare
2451545
to
d7f3f2a
Compare
d7f3f2a
to
a4063da
Compare
Am I wrong or does the MSSQL destination now only create raw airbyte tables with an |
Correct - The connector needed to be updated to support a number of new features (record change history, checkpointing etc), and the removal of dbt-based normalization from the airbyte platform. As this destination is not certified, we haven't yet prioritized adding the new Destination V2 final tables. |
I understand. Do you have a rough estimate on when users could expect this enhancement to be shipped? And does Airbyte have a plan to certify this destination? |
We do not have plans to certify the destination-mssql at this time. That said, as this is a community connector, if you are interested in adding those features, let us know |
This is one of my most heavily used destinations. Normalization is also important for me- I'll have to camp out on an old version for a while it seems. |
Removes normalization for MSSQL, this is a breaking change
Summary:
This PR removes normalization for MSSQL, updates various files to reflect this change and the new version, and adds a migration guide.
Key points:
cdkVersionRequired
to '0.30.1' anduseLocalCdk
to true inbuild.gradle
files ofdestination-mssql-strict-encrypt
anddestination-mssql
.metadata.yaml
files of both connectors to reflect new version and breaking changes.MssqlStrictEncryptDestinationAcceptanceTest.java
andMSSQLDestinationAcceptanceTest.java
test files.MSSQLDestination.java
to reflect changes in destination handler and SQL generator.SqlServerOperations.java
to reflect changes in insert records function.spec.json
ofdestination-mssql
to includeraw_data_schema
property.mssql-migrations.md
file to document migration process.Generated with ❤️ by ellipsis.dev