feat!: Upgrade to SDK V3 make Column.Type an arrow.DataType#854
Merged
hermanschaaf merged 4 commits intomainfrom May 9, 2023
Merged
feat!: Upgrade to SDK V3 make Column.Type an arrow.DataType#854hermanschaaf merged 4 commits intomainfrom
hermanschaaf merged 4 commits intomainfrom
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #854 +/- ##
==========================================
+ Coverage 47.46% 48.09% +0.62%
==========================================
Files 59 29 -30
Lines 6611 2439 -4172
==========================================
- Hits 3138 1173 -1965
+ Misses 3065 1164 -1901
+ Partials 408 102 -306
☔ View full report in Codecov by Sentry. |
hermanschaaf
approved these changes
May 9, 2023
kodiakhq bot
pushed a commit
that referenced
this pull request
May 11, 2023
🤖 I have created a release *beep* *boop* --- ## [3.0.0](v2.7.0...v3.0.0) (2023-05-09) ### ⚠ BREAKING CHANGES * Upgrade to SDK V3 make Column.Type an arrow.DataType ([#854](#854)) ### Features * Upgrade to SDK V3 make Column.Type an arrow.DataType ([#854](#854)) ([1265554](1265554)) --- 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
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.
This upgrades the SDK to v3 so
schema.Column.Typenow holdsarrow.DataTypeand removes all CQTypes.This also removes `source plugins because this will come in a follow-up PR (This will ensure this sdk wont be merged into sources).
Instead of #832