Skip to content

Conversation

@erezrokah
Copy link
Member

@erezrokah erezrokah commented Jun 21, 2023

Summary

This is based on the MemDB plugin from cloudquery/plugin-sdk#915

Fixes #11755

BEGIN_COMMIT_OVERRIDE
feat!: Upgrades the mysql source plugin to use plugin-sdk v4. This version does not contain any user-facing breaking changes, but because it is now using CloudQuery gRPC protocol v3, it does require use of a destination plugin that also supports protocol v3. All recent destination plugin versions support this.
END_COMMIT_OVERRIDE

@erezrokah erezrokah requested review from a team and yevgenypats and removed request for a team June 21, 2023 12:53
@erezrokah erezrokah force-pushed the fix/update_mysql_source_sdk_v4 branch from 956d15a to 8917d0d Compare June 21, 2023 15:42
require.Equal(t, expectedStrings, actualStrings)
sortResults(testTable, actualRecords)

for recordIndex, expectedRecord := range expectedRecords {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Notice we switched from string comparison to value comparison as everything is arrow types now

@erezrokah erezrokah force-pushed the fix/update_mysql_source_sdk_v4 branch from 8917d0d to 4e19c73 Compare June 23, 2023 10:46
@erezrokah erezrokah force-pushed the fix/update_mysql_source_sdk_v4 branch 3 times, most recently from 9894578 to ee4b344 Compare June 26, 2023 13:44
@erezrokah erezrokah changed the title feat(mysql): Update to SDK V4 feat(mysql)!: Update to SDK V4 Jun 26, 2023
@erezrokah erezrokah force-pushed the fix/update_mysql_source_sdk_v4 branch from c8207bb to d9396ac Compare June 26, 2023 17:16
@erezrokah erezrokah force-pushed the fix/update_mysql_source_sdk_v4 branch from d9396ac to b8591f9 Compare July 13, 2023 12:24
@erezrokah erezrokah requested a review from hermanschaaf as a code owner July 13, 2023 12:24
@cq-bot cq-bot added the ci label Jul 13, 2023
@erezrokah erezrokah force-pushed the fix/update_mysql_source_sdk_v4 branch 3 times, most recently from c500922 to be9ef8d Compare July 13, 2023 13:46
kodiakhq bot pushed a commit that referenced this pull request Jul 14, 2023

#### Summary

Same as #11696

Fixes #11757

BEGIN_COMMIT_OVERRIDE
feat!: Upgrades the oracledb source plugin to use plugin-sdk v4. This version does not contain any user-facing breaking changes, but because it is now using CloudQuery gRPC protocol v3, it does require use of a destination plugin that also supports protocol v3. All recent destination plugin versions support this.
END_COMMIT_OVERRIDE

<!--
@erezrokah erezrokah force-pushed the fix/update_mysql_source_sdk_v4 branch from 86219f4 to 4525ed3 Compare July 14, 2023 14:23
kodiakhq bot pushed a commit that referenced this pull request Jul 15, 2023

#### Summary

Similar to #11696.
~~I had to comment change some of the tests due to cloudquery/plugin-sdk#982 and cloudquery/plugin-sdk#915 (comment), so not ready to merge~~

BEGIN_COMMIT_OVERRIDE
feat!: Upgrades the postgresql source plugin to use plugin-sdk v4. This version does not contain any user-facing breaking changes, but because it is now using CloudQuery gRPC protocol v3, it does require use of a destination plugin that also supports protocol v3. All recent destination plugin versions support this.

feat!: To enable CDC in this version you'll need to use the `cdc_id` configuration string property, instead of the `cdc` boolean one. Please refer to the [docs](https://www.cloudquery.io/docs/plugins/sources/postgresql/overview) for more information 
END_COMMIT_OVERRIDE

<!--
@erezrokah erezrokah added the automerge Automatically merge once required checks pass label Jul 17, 2023
kodiakhq bot pushed a commit that referenced this pull request Jul 17, 2023

#### Summary

Similar to #11696. ~~Still need to test this~~

FIxes #11756

BEGIN_COMMIT_OVERRIDE
feat!: Upgrades the firestore source plugin to use plugin-sdk v4. This version does not contain any user-facing breaking changes, but because it is now using CloudQuery gRPC protocol v3, it does require use of a destination plugin that also supports protocol v3. All recent destination plugin versions support this.
END_COMMIT_OVERRIDE

<!--
@kodiakhq kodiakhq bot merged commit 1e8d0f8 into cloudquery:main Jul 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate plugins/source/mysql to github.com/cloudquery/plugin-sdk/v4

3 participants