-
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
db-sources:sort primary key based on key-seq #29346
Conversation
Before Merging a Connector Pull RequestWow! What a great pull request you have here! 🎉 To merge this PR, ensure the following has been done/considered for each connector added or updated:
If the checklist is complete, but the CI check is failing,
|
/legacy-test connector=connectors/source-postgres
Build PassedTest summary info:
|
/legacy-test connector=connectors/source-mysql
Build PassedTest summary info:
|
/legacy-test connector=connectors/source-mssql
Build PassedTest summary info:
|
@@ -146,13 +148,14 @@ protected List<CheckedConsumer<JdbcDatabase, Exception>> getCheckOperations(fina | |||
* | |||
* @return a map by StreamName to associated list of primary keys | |||
*/ | |||
private static Map<String, List<String>> aggregatePrimateKeys(final List<SimpleImmutableEntry<String, String>> entries) { | |||
@VisibleForTesting | |||
public static Map<String, List<String>> aggregatePrimateKeys(final List<PrimaryKeyAttributesFromDb> entries) { |
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.
interesting, this change is in the base classes - do we need to run Postgres tests to ensure no side effect? cc @akashkulk
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.
we should, but I double there will be too much of a side effect here (just changing the order of keys)
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.
Already ran! I dont expect anything to change.
source-mysql test report (commit
|
Step | Result |
---|---|
Validate airbyte-integrations/connectors/source-mysql/metadata.yaml | ✅ |
Connector version semver check | ✅ |
QA checks | ✅ |
Build connector tar | ✅ |
Build source-mysql docker image for platform linux/x86_64 | ✅ |
./gradlew :airbyte-integrations:connectors:source-mysql:integrationTest | ❌ |
Acceptance tests | ✅ |
☁️ View runs for commit in Dagger Cloud
Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command
airbyte-ci connectors --name=source-mysql test
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.
Approving - we should just run tests for relevant connectors (mssql/mysql/postgres) just to ensure they don't check for order of keys in the catalog or something
/legacy-test connector=connectors/source-mysql
Build FailedTest summary info:
|
/legacy-test connector=connectors/source-postgres
Build PassedTest summary info:
|
source-mysql test report (commit
|
Step | Result |
---|---|
Validate airbyte-integrations/connectors/source-mysql/metadata.yaml | ✅ |
Connector version semver check | ✅ |
QA checks | ✅ |
Build connector tar | ✅ |
Build source-mysql docker image for platform linux/x86_64 | ✅ |
./gradlew :airbyte-integrations:connectors:source-mysql:integrationTest | ❌ |
Acceptance tests | ✅ |
☁️ View runs for commit in Dagger Cloud
Please note that tests are only run on PR ready for review. Please set your PR to draft mode to not flood the CI engine and upstream service on following commits.
You can run the same pipeline locally on this branch with the airbyte-ci tool with the following command
airbyte-ci connectors --name=source-mysql test
/legacy-test connector=connectors/source-mysql
Build FailedTest summary info:
|
/approve-and-merge reason="mysql tests passing locally, some CI flakiness" |
Co-authored-by: Akash Kulkarni <113392464+akashkulk@users.noreply.github.com>
Issue : #28699