feat(cli): Support V2 sources and V1 destinations#10785
Merged
kodiakhq[bot] merged 6 commits intomainfrom May 15, 2023
Merged
Conversation
Contributor
Author
|
I've no idea what's up with the lints. will try to figure out tomorrow. |
disq
approved these changes
May 15, 2023
hermanschaaf
approved these changes
May 15, 2023
Contributor
hermanschaaf
left a comment
There was a problem hiding this comment.
Some suggestions around the error messages, but the changes here LGTM
Co-authored-by: Kemal <223029+disq@users.noreply.github.com>
Co-authored-by: Herman Schaaf <hermanschaaf@gmail.com>
kodiakhq bot
pushed a commit
that referenced
this pull request
May 15, 2023
🤖 I have created a release *beep* *boop* --- ## [3.3.0](cli-v3.2.1...cli-v3.3.0) (2023-05-15) ### Features * **cli:** Support V2 sources and V1 destinations ([#10785](#10785)) ([e01db3b](e01db3b)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
kodiakhq bot
pushed a commit
to cloudquery/plugin-sdk
that referenced
this pull request
May 15, 2023
Few notes: - Most of the code here was removed in #854 to prevent accidental use before it was ready - Sources moved to use the new `schema.Table` which means use of `arrow.DataType` instead of our old `ValueType` - Protocol in sources and destinations are upgraded to use native arrow format (sources v2 and dest v1) - https://github.com/cloudquery/plugin-pb-go - Introduces a new `scalar` package which is mostly used by our "managed" sources and basically our old cqtypes just now using arrow types (which also support nesting). This will hopefully go upstream one day but I don't think we should block on that as the upstream package is not a fit right now and will take time for such refactor to make it upstream. Follow-up PRs with example sources and dest will follow soon. IMPORTANT: all destinations should be released first as we decided new sources will work only with new destination to avoid un-necessary backward compatibility maintenance. Example PRs: - PostgreSQL: cloudquery/cloudquery#10783 - GCP: cloudquery/cloudquery#10784 - CLI: cloudquery/cloudquery#10785
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related but not blocked as SDK and proto-pb-go are now decoupled cloudquery/plugin-sdk#864 .
This PR should be merged and released first