π Only take table size info for streams syncing via primary key - #30375
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,
|
|
| Step | Result |
|---|---|
| Java Connector Unit Tests | β |
| Build connector tar | β |
| Build source-mysql docker image for platform linux/x86_64 | β |
| Java Connector Integration Tests | β |
| Acceptance tests | β |
| Validate airbyte-integrations/connectors/source-mysql/metadata.yaml | β |
| Connector version semver check | β |
| Connector version increment check | β |
| QA checks | β |
π View the logs here
βοΈ 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
|
| Step | Result |
|---|---|
| Java Connector Unit Tests | β |
| Build connector tar | β |
| Build source-mysql docker image for platform linux/x86_64 | β |
| Java Connector Integration Tests | β |
| Acceptance tests | β |
| Validate airbyte-integrations/connectors/source-mysql/metadata.yaml | β |
| Connector version semver check | β |
| Connector version increment check | β |
| QA checks | β |
π View the logs here
βοΈ 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
|
| Step | Result |
|---|---|
| Java Connector Unit Tests | β |
| Build connector tar | β |
| Build source-mysql-strict-encrypt docker image for platform linux/x86_64 | β |
| Java Connector Integration Tests | β |
| Acceptance tests | β |
| Validate airbyte-integrations/connectors/source-mysql-strict-encrypt/metadata.yaml | β |
| Connector version semver check | β |
| Connector version increment check | β |
| QA checks | β |
π View the logs here
βοΈ 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-strict-encrypt test|
I see that in case there is no table size info, MySqlInitialLoadHandler would fall back to a default chunk size of 1m rows I'll add the suggested change so we never fail a sync due to table size failure |
|
/legacy-test connector=connectors/source-mysql
Build FailedTest summary info: |
|
| Step | Result |
|---|---|
| Java Connector Unit Tests | β |
| Build connector tar | β |
| Build source-mysql-strict-encrypt docker image for platform linux/x86_64 | β |
| Java Connector Integration Tests | β |
| Acceptance tests | β |
| Validate airbyte-integrations/connectors/source-mysql-strict-encrypt/metadata.yaml | β |
| Connector version semver check | β |
| Connector version increment check | β |
| QA checks | β |
π View the logs here
βοΈ 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-strict-encrypt testβ¦ce-mysql-error-when-reading-table-size-causing-syncs-to-fail
|
All tests passing locally |
β¦e-size-causing-syncs-to-fail
|
/legacy-test connector=connectors/source-mysql
Build FailedTest summary info: |
Subodh Chaturvedi (subodh1810)
left a comment
There was a problem hiding this comment.
I pushed a commit as discussed over call. Please make sure to the tests are green locally (CI is broken) before merging.
|
/approve-and-merge reason="Tests pass for MySQL locally, CI is broken for mysql" |
|
| Step | Result |
|---|---|
| Java Connector Unit Tests | β |
| Build connector tar | β |
| Build source-mysql docker image for platform linux/x86_64 | β |
| Java Connector Integration Tests | β |
| Acceptance tests | β |
| Validate airbyte-integrations/connectors/source-mysql/metadata.yaml | β |
| Connector version semver check | β |
| Connector version increment check | β |
| QA checks | β |
π View the logs here
βοΈ 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
|
| Step | Result |
|---|---|
| Java Connector Unit Tests | β |
| Build connector tar | β |
| Build source-mysql docker image for platform linux/x86_64 | β |
| Java Connector Integration Tests | β |
| Acceptance tests | β |
| Validate airbyte-integrations/connectors/source-mysql/metadata.yaml | β |
| Connector version semver check | β |
| Connector version increment check | β |
| QA checks | β |
π View the logs here
βοΈ 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
|
| Step | Result |
|---|---|
| Java Connector Unit Tests | β |
| Build connector tar | β |
| Build source-mysql-strict-encrypt docker image for platform linux/x86_64 | β |
| Java Connector Integration Tests | β |
| Acceptance tests | β |
| Validate airbyte-integrations/connectors/source-mysql-strict-encrypt/metadata.yaml | β |
| Connector version semver check | β |
| Connector version increment check | β |
| QA checks | β |
π View the logs here
βοΈ 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-strict-encrypt test
What
If at least one stream is syncing via primary key, we attempt to get table info size for all,
including full refresh streams and views.
Because views don't have physical byte size we run into an error.
Closes #30363.
How
Only take table info size for the streams that need it, namely primary key syncing streams.