-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
source-mssql: convert to bulk CDK #48465
base: master
Are you sure you want to change the base?
source-mssql: convert to bulk CDK #48465
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ 1 Skipped Deployment
|
ff6891f
to
5a4d483
Compare
a63db79
to
8bb623d
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.
Superficial review LGTM, this is a good base to build on!
@@ -38,19 +38,6 @@ data: | |||
message: "Add default cursor for cdc" | |||
upgradeDeadline: "2023-08-23" | |||
connectorTestSuitesOptions: | |||
- suite: unitTests |
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.
I understand the removal of integrationTests
but is removing unitTests
intentional?
import jakarta.inject.Singleton | ||
|
||
/** | ||
* The object which is mapped to the Mysql source configuration JSON. |
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.
please do a string search&replace for /mysql/mssql/
in this source tree before we forget to do so :)
* Copyright (c) 2024 Airbyte, Inc., all rights reserved. | ||
*/ | ||
|
||
package io.airbyte.integrations.source.mssql.config_spec |
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.
apparently underscores in package names makes some people sad
@JsonSchemaInject(json = """{"order":8, "default":"CDC", "display_type": "radio"}""") | ||
fun getReplicationMethodValue(): MsSqlServerReplicationMethodConfiguration? = | ||
replicationMethodJson ?: replicationMethod.asReplicationMethod() | ||
} |
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.
I skimmed over this and the rest of the package but it seems legit. If your unit tests are happy then I'm happy.
@@ -321,7 +321,7 @@ data object UserDefinedCursor : CursorMethodConfiguration | |||
@JsonSchemaDescription( | |||
"<i>Recommended</i> - " + | |||
"Incrementally reads new inserts, updates, and deletes using Mysql's <a href=" + | |||
"\"https://docs.airbyte.com/integrations/sources/mssql/#change-data-capture-cdc\"" + | |||
"\"https://docs.airbyte.com/integrations/sources/mysql/#change-data-capture-cdc\"" + |
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.
good catches! should these changes be in a separate PR? probably, because you'll have to bump the version of source-mysql
}, | ||
"additionalProperties": true | ||
} | ||
} |
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.
Hopefully this isn't too different from the legacy spec?
dd1bac8
to
2b752b8
Compare
0df7cbd
to
c3296db
Compare
1fdf785
to
4c34884
Compare
067100e
to
1058bcc
Compare
070288f
to
b685ade
Compare
b685ade
to
f9e0271
Compare
What
How
Review guide
User Impact
Can this PR be safely reverted and rolled back?